sugos-assets
Asset file generator
Last updated a year ago by realglobe .
Apache-2.0 · Repository · Bugs · Original npm · Tarball
$ cnpm install sugos-assets 
SYNC missed versions from official npm registry.

sugos-assets

Build Status npm Version JS Standard

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.

Links

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (9)
Dev Dependencies (10)

Copyright 2014 - 2017 © taobao.org |