@compositor/device

0.0.10 • Public • Published

device js-standard-style

Place an image in a device.

installation

npm i -S @compositor/device

usage

const device = require('@compositor/device')

device('compositor-io.png', {
  device: 'iphone-7-plus',
  dest: 'my/dir'
})
options
options default values
device undefiend iphone-7-plus, iphone-5c, macbook, imac
dest __dirname A file path, ex: my/dir/for/screenshots

contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Crafted with <3 by Compositor (@getcompositor).

Package Sidebar

Install

npm i @compositor/device

Weekly Downloads

14

Version

0.0.10

License

MIT

Last publish

Collaborators

  • johno
  • mrmrs
  • jxnblk