https://github.com/rwv/workbox-add-integrity
📦 A workbox plugin that add integrity to workbox precache manifest.
https://github.com/rwv/workbox-add-integrity
integrity manifest subresource-integrity workbox
Last synced: 5 days ago
JSON representation
📦 A workbox plugin that add integrity to workbox precache manifest.
- Host: GitHub
- URL: https://github.com/rwv/workbox-add-integrity
- Owner: rwv
- License: mit
- Created: 2023-12-08T16:39:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-02T23:03:34.000Z (7 months ago)
- Last Synced: 2025-06-18T01:27:16.751Z (26 days ago)
- Topics: integrity, manifest, subresource-integrity, workbox
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/workbox-add-integrity
- Size: 251 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 📦 workbox-add-integrity
A workbox plugin that add integrity to workbox precache manifest.[](https://github.com/rwv/workbox-add-integrity/actions/workflows/build.yml)
[](https://app.codecov.io/github/rwv/workbox-add-integrity)
[](https://www.npmjs.com/package/workbox-add-integrity)
## Usage
``` bash
npm install workbox-add-integrity
`````` ts
import addIntegrity from "workbox-add-integrity";
import { injectManifest } from "workbox-build";const addIntegrityOptions = {
folder: "dist",
}injectManifest({
manifestTransforms: [addIntegrity(addIntegrityOptions)],
});
```## License
MIT