Have ideas to improve npm?Join in the discussion! »

simple-favicon-generator

0.0.1 • Public • Published

simple-favicon-generator

Build Status

simple-favicon-generator logo

Simple favicon generator.

Install

npm install simple-favicon-generator
# or
yarn add simple-favicon-generator

Usage

This is the simplest sample code.

Create a public directory and then run it.

const generateFavicons = require('simple-favicon-generator');

(async () => {
  const targetImage = './your-site-image.png';
  const siteName = 'Your site name';
  await generateFavicons(targetImage, siteName);
})();

Development

# test
npm run test

# code format
npm run fmt

Install

npm i simple-favicon-generator

DownloadsWeekly Downloads

4

Version

0.0.1

License

MIT

Unpacked Size

65 kB

Total Files

7

Last publish

Collaborators

  • avatar