@realfavicongenerator/generate-favicon
v0.4.6
Published
Generate a favicon
Downloads
2,821
Maintainers
Readme
@realfavicongenerator/generate-favicon
Generate favicon icons and markups from a master icon and settings.
This module is used by the favicon generator of RealFaviconGenerator.
Guided setup
Use RealFaviconGenerator to generate and setup your code in your project. Simply visit the favicon generator for Node and follow the instructions.
Manual setup
Install:
npm install @realfavicongenerator/generate-favicon @realfavicongenerator/image-adapter-node
Usage:
import { FaviconSettings, MasterIcon, bitmapToSvg, dataUrlToSvg, generateFaviconFiles, generateFaviconHtml, stringToSvg } from '@realfavicongenerator/generate-favicon';
import { getNodeImageAdapter, loadAndConvertToSvg } from "@realfavicongenerator/image-adapter-node";