Place images into devices
npm install @compositor/devicePlace an image in a device.
``bash`
npm i -S @compositor/device
`javascript
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 |
1. Fork it
2. Create your feature branch (git checkout -b my-new-feature)git commit -am 'Add some feature'
3. Commit your changes ()git push origin my-new-feature`)
4. Push to the branch (
5. Create new Pull Request
*
> Crafted with <3 by Compositor (@getcompositor).