sugos-assets
v2.0.6
Published
Asset file generator
Downloads
61
Readme
sugos-assets
Asset file generator
Installation
$ npm install sugos-assets --save
Usage
'use strict'
const sugosAssets = require('sugos-assets')
const co = require('co')
co(function * () {
// Generate favicon for an example project
{
const type = 'example'
const filename = 'doc/images/my-example-01-favicon.svg'
yield sugosAssets.favicon(type, filename, {
// Render config
name: 'my-example-01',
color: '#38A'
})
}
}).catch((err) => console.error(err))
Assets
Images
| Image | Path | | ----- | ---- | | | assets/images/mac-banner.svg | | | assets/images/nodejs-banner.png | | | assets/images/npm-banner.png | | | assets/images/sugo-actor-banner.png | | | assets/images/sugo-caller-banner.png | | | assets/images/sugo-hub-banner.png | | | assets/images/sugo-observer-banner.png | | | assets/images/sugos-banner.png | | | assets/images/sugos-dot.svg | | | assets/images/sugos-favicon.png | | | assets/images/sugos-overview.png |
License
This software is released under the Apache-2.0 License.