favilib
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Favilib

CI NPM Version

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, and share_target.
    • Advanced handling of file_handlers, protocol_handlers, and localized fields (*_localized).

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.

Package Sidebar

Install

npm i favilib

Weekly Downloads

430

Version

1.0.5

License

MIT

Unpacked Size

155 kB

Total Files

8

Last publish

Collaborators

  • jakichen