agenciamilagro / viewport-list

Return a list of devices and their viewports

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

viewport-list Build Status

Return a list of devices and their viewports

Install

npm install --save viewport-list

Usage

var viewport = require('viewport-list');

viewport('iphone4s', function (err, items) {
    console.log(items);
    // => [{ name: 'iphone4s', platform: 'iOS', os: '4.3.5', size: '320x480', release: '2011-10' }]
});

License

MIT License © Kevin Mårtensson

About

Return a list of devices and their viewports

License:MIT License