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: 6 months 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 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-02T23:03:34.000Z (over 1 year ago)
- Last Synced: 2025-10-25T04:18:44.460Z (9 months ago)
- Topics: integrity, manifest, subresource-integrity, workbox
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/workbox-add-integrity
- Size: 251 KB
- Stars: 0
- Watchers: 0
- 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