Zero-configuration for installing PWA features.
Zero-configuration for installing PWA features. Although sw-precache works great as a light-weight tool to quickly install service worker support, it currently does not provide much functionality for installing specific "features".
Features
pwa.config.js
service-worker.js
(files)service-worker.js
call in your html
filesInstall with npm
$ npm i pwa-installer
Install with Yarn
$ yarn add pwa-installer
Run with npx (without installing)
$ npx pwa-installer
Note: Install this npm package with the flag -g
or --global
for global use. Install with the flag -D
or --save-dev
for add the package as a devDependency of your project.
$ pwa-installer --help
Usage:
$ pwa-installer [
Note: Directory is required
Want to contribute? Follow these recommendations.
Designed with ♥ by CJ Patoilo. Licensed under the MIT License.