Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-14T22:14:43.000Z (2 months ago)
- Last Synced: 2024-10-15T03:43:57.509Z (2 months ago)
- Topics: integrity, manifest, subresource-integrity, workbox
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/workbox-add-integrity
- Size: 249 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
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.[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/rwv/workbox-add-integrity/build.yml)](https://github.com/rwv/workbox-add-integrity/actions/workflows/build.yml)
[![Codecov Coverage](https://img.shields.io/codecov/c/github/rwv/workbox-add-integrity)](https://app.codecov.io/github/rwv/workbox-add-integrity)
[![npm](https://img.shields.io/npm/v/workbox-add-integrity)](https://www.npmjs.com/package/workbox-add-integrity)
![NPM](https://img.shields.io/npm/l/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