{"name":"viewport-list","version":"4.0.0","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":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["device","json","resolution","size","viewport"],"dependencies":{"arrify":"^1.0.0","get-proxy":"^1.0.0","get-stdin":"^4.0.1","got":"^4.1.1","meow":"^3.3.0","to-csv":"^0.1.0"},"devDependencies":{"ava":"^0.2.0","xo":"*"},"gitHead":"c67dc277c11cdfab59235a99c517ee0f698bddab","bugs":{"url":"https://github.com/kevva/viewport-list/issues"},"homepage":"https://github.com/kevva/viewport-list#readme","_id":"viewport-list@4.0.0","_shasum":"257790a8d406e85352a90b2e7b44e549b97e5e43","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.1.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"257790a8d406e85352a90b2e7b44e549b97e5e43","tarball":"http://registry-npm.ywwl.com/viewport-list/download/viewport-list-4.0.0.tgz","integrity":"sha512-Nu7ByLP7Dl2+EhSarFIbSQtvcI3ng83z8qZojQMZtG9Y/2gdVCnUT5PeW4632dOJ/qv7cDZY+2zUzFOMjUJEiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCTeJKs+ACj5t4nsVo46RqfxAQHUDDKpR6HZQ4nLQt/gIgGI6NoTpYvmB+V4HWEUkHEtr7PqqfJ/VRyCRURgjJ+mQ="}],"size":2140,"noattachment":false,"key":"/viewport-list/-/viewport-list-4.0.0.tgz"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"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":1443967247608,"_cnpm_publish_time":1443967247608,"dist-tags":{"latest":"5.1.1"}}