Gathering detailed insights and metrics for workbox-ipfs
Gathering detailed insights and metrics for workbox-ipfs
npm install workbox-ipfs
Typescript
Module System
Node Version
NPM Version
72.2
Supply Chain
87.1
Quality
74.7
Maintenance
100
Vulnerability
99.3
License
JavaScript (49.83%)
TypeScript (45.2%)
HTML (3.71%)
Shell (1.27%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
516
Last Day
1
Last Week
2
Last Month
26
Last Year
100
MIT License
1 Stars
17 Commits
1 Watchers
6 Branches
1 Contributors
Updated on Jun 18, 2023
Minified
Minified + Gzipped
Latest Version
0.0.4
Package Id
workbox-ipfs@0.0.4
Unpacked Size
1.74 MB
Size
537.14 kB
File Count
6
NPM Version
8.11.0
Node Version
16.16.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-83.3%
2
Compared to previous week
Last Month
333.3%
26
Compared to previous month
Last Year
-30.6%
100
Compared to previous year
1
37
IPFS router for a Workbox service worker.
Once installed and initialized the IPFS router intercept and reply to IPFS urls and paths.
Valid requests are:
/ipfs/Qme7ss3ARVgxv6rXqVPiikMJ8u2NLgmgszg13pYrDKEoiu
/ipns/github.com
https://ipfs.io/ipfs/Qme7ss3ARVgxv6rXqVPiikMJ8u2NLgmgszg13pYrDKEoiu
https://ipfs.io/ipns/github.com
1npm install --save workbox-ipfs
In the workbox service worker:
1import { initialize } from 'workbox-ipfs'; 2 3initialize({ 4 /* IPFS Options */ 5})
On the web page:
1const response = await fetch('/ipfs/Qme7ss3ARVgxv6rXqVPiikMJ8u2NLgmgszg13pYrDKEoiu'); 2const file = await response.blob();
1npm install 2 3npm run husky:install
1npm run develop
No vulnerabilities found.
No security vulnerabilities found.