app-ico

0.3.1 • Public • Published

app-ico

npm Package

Usage

Create a configuration js file like appico.config.js (see example and configuration readme).

Usage Node API

let config = require('./appico.config');
let createIcons = require('app-ico');
 
createIcons(config).then(result => {
  // "result.response" contains the response data from the RealFaviconGenerator API
  
  // if config.output[files|html|response] is set, files will be written in the directory
});

Usage CLI

  • app-ico Will look for appico.config.js in the root directory by default.
  • app-ico -c config/favicon.config will look for config/appico.config.js
  • in package.json e. g.:
    {
        "scripts": {
          "favicons": "app-ico -c config/favicon.config"
        }
    }

Package Sidebar

Install

npm i app-ico

Weekly Downloads

0

Version

0.3.1

License

MIT

Unpacked Size

20.1 kB

Total Files

10

Last publish

Collaborators

  • rommeo85