{"name":"viewport-list","version":"3.0.0","description":"Return a list of devices and their viewports","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/viewport-list"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"bin":{"viewport-list":"cli.js"},"scripts":{"test":"node test.js"},"files":["cli.js","index.js"],"keywords":["device","resolution","size","viewport"],"dependencies":{"get-proxy":"^1.0.0","get-stdin":"^4.0.1","got":"^2.2.0","meow":"^3.0.0","to-csv":"^0.0.3"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"bf4f45f281d870a626916231c8452b77fab9d428","bugs":{"url":"https://github.com/kevva/viewport-list/issues"},"homepage":"https://github.com/kevva/viewport-list","_id":"viewport-list@3.0.0","_shasum":"eac681b8f343f250dc33d9527906ea5529ce39ea","_from":".","_npmVersion":"2.3.0","_nodeVersion":"1.0.4","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"eac681b8f343f250dc33d9527906ea5529ce39ea","tarball":"http://registry-npm.ywwl.com/viewport-list/download/viewport-list-3.0.0.tgz","integrity":"sha512-2iXTgcEzAB5YN4oV9QMi26x608b3cQNeFByq/z3uQhH3/MG1jf4MvctgZXfWBgOxiDICSiLum0vu3GLOX2Nmjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3cGiCpSM8pS/Efar2LI3WGC2zjjJmEaemkiasT7dyLQIge3n6+95vM5zzB1srp+qmNiLYrJSZ5cVLuZadYaA9nMk="}],"size":2525,"noattachment":false,"key":"/viewport-list/-/viewport-list-3.0.0.tgz"},"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":1423604809390,"_cnpm_publish_time":1423604809390,"dist-tags":{"latest":"5.1.1"}}