{"name":"viewport-list","version":"5.0.1","description":"Return a list of devices and their viewports","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/viewport-list.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava","prepublish":"./make.js"},"files":["index.js","data.json"],"keywords":["device","json","resolution","size","viewport"],"devDependencies":{"ava":"*","got":"^6.3.0","pify":"^2.3.0","xo":"*"},"xo":{"esnext":true},"gitHead":"06a5072ade7c1111f25a88135725c940ba8a93a0","bugs":{"url":"https://github.com/kevva/viewport-list/issues"},"homepage":"https://github.com/kevva/viewport-list#readme","_id":"viewport-list@5.0.1","_shasum":"12d63b060c9783c04b82fd9f3e045926b70db914","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"12d63b060c9783c04b82fd9f3e045926b70db914","tarball":"http://registry-npm.ywwl.com/viewport-list/download/viewport-list-5.0.1.tgz","integrity":"sha512-THG2sdiBOeHYmRX2+lneHNGzSv7CW/bs1aJHRB/RALkHAu6ZvUBiAdkgPdCs1eLSU9oJXgEELGtMATl/3DtaLg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCKAbsgbFyvNqzorLlteFlvHr8f1Vxd9MoWE6D2G8TvwIgD0bZXieSxIP2cX8kltJmG4ItMI6ByaTa2dTMuZeSkGk="}],"size":6878,"noattachment":false,"key":"/viewport-list/-/viewport-list-5.0.1.tgz"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/viewport-list-5.0.1.tgz_1467287289571_0.558930936967954"},"readme":"# viewport-list [![Build Status](http://img.shields.io/travis/kevva/viewport-list.svg?style=flat)](https://travis-ci.org/kevva/viewport-list)\n\n> Return a list of devices and their viewports\n\n\n## Install\n\n```\n$ npm install --save viewport-list\n```\n\n\n## Usage\n\nPass in a optional keyword which is a device name from [this list](http://viewportsizes.com).\n\n```js\nconst viewportList = require('viewport-list');\n\nconsole.log(viewportList(['iphone 4s']));\n//=> [{name: 'iphone 4s', platform: 'iOS', os: '4.3.5', size: '320x480', release: '2011-10'}]\n```\n\n\n## API\n\n### viewportList([items])\n\nReturns an array of viewports.\n\n#### items\n\nType: `Array`<br>\nDefault: `[]`\n\nAn array of device names to fetch.\n\n\n## Related\n\n* [viewport-list-cli](https://github.com/kevva/viewport-list-cli) - CLI for this module\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n","publish_time":1467287292152,"_cnpm_publish_time":1467287292152,"dist-tags":{"latest":"5.1.1"}}