Return a list of devices and their viewports
JavaScript
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.editorconfig
.gitattributes
.gitignore
.travis.yml
cli.js
license
package.json
readme.md
test.js

readme.md

viewport-list-cli Build Status

Return a list of devices and their viewports

Install

$ npm install --global viewport-list-cli

Usage

$ viewport-list --help

  Usage
    $ viewport-list [device]
    $ viewport-list < <file>

  Example
    $ viewport-list iphone4 iphone5
    $ viewport-list < devices.txt

  Options
    -p, --pretty    Print the results in a table

Related

License

MIT © Kevin Mårtensson