favilib
v1.0.5
Published
An enhanced Node.js module for generating favicons and assets required for Progressive Web Apps (PWAs). It supports the latest standards from `w3.org`, `Edge`, `Yandex`, and Windows Tile (Manifest), providing a unified interface for both CommonJS and ES m
Downloads
960
Maintainers
Readme
Favilib
An enhanced Node.js module for generating favicons and assets required for Progressive Web Apps (PWAs). It supports the latest standards from w3.org
, Edge
, Yandex
, and Windows Tile
(Manifest), providing a unified interface for both CommonJS and ES modules.
Features
- Overhauled API: Built for astro-favicons, but can also be used independently as a Node.js module.
- Advanced Manifest Support: Full compatibility with the latest W3C Manifest standard, including extended fields as outlined in the Manifest.
- Enhanced PWA Capabilities:
- Support for
themes
,screenshots
, andshare_target
. - Advanced handling of
file_handlers
,protocol_handlers
, and localized fields (*_localized
).
- Support for
Installation
Install via npm:
npm i favilib
Usage
Looking for help getting started? Check out the Create Examples guide for step-by-step instructions.
Acknowledgements
This project is based on the favicons open-source library, originally licensed under the MIT License. Significant modifications have been made, including:
- Bug fixes
- API redesign
- New features (e.g., manifest expansion, screenshots support and themes)
Thanks to the original maintainers for their work!
License
This project is licensed under the MIT License - see the LICENSE file for details.