framer-device

0.1.3 • Public • Published

Device constructor shorthand that defaults to @1x

Quickly setup a device canvas with Screen dimensions that default to relative points, so that you can design @1x. This is great for handing to engineers who will use the source as design specs.

Usage

$ framer myProject &
$ cd myProject
$ npm install --save peteschaffner/framer-device

app.js:

var Device = require('framer-device')

new Device({ deviceType: 'iphone-6-gold' })

/framer-device/

    Package Sidebar

    Install

    npm i framer-device

    Weekly Downloads

    1

    Version

    0.1.3

    License

    MIT

    Last publish

    Collaborators

    • peteschaffner