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' })

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    1
  • 0.1.2
    0
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i framer-device

Weekly Downloads

1

Version

0.1.3

License

MIT

Last publish

Collaborators

  • peteschaffner