All Projects → unjs → workbox-cdn

unjs / workbox-cdn

Licence: MIT license
Workbox Unofficial CDN and standalone NPM package.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to workbox-cdn

fastly
Fastly API client for Node.js
Stars: ✭ 70 (+159.26%)
Mutual labels:  cdn
MCW-Media-AI
MCW Media AI
Stars: ✭ 22 (-18.52%)
Mutual labels:  cdn
CDN-Ansible
Welcome to github repository for Visual Cloud Delivery Network. This repository will provide the Ansible playbooks for installing the components of Visual Cloud Delivery Network.
Stars: ✭ 20 (-25.93%)
Mutual labels:  cdn
qiniu-auto-cert
七牛 CDN 证书自动化工具
Stars: ✭ 20 (-25.93%)
Mutual labels:  cdn
cdn
🚀 ✈️ 🚄 free CDN for everyone who wants to speed his website freely!😄
Stars: ✭ 16 (-40.74%)
Mutual labels:  cdn
boilerplate-react-redux-pwa
It's sample boilerplate with pwa + react + redux + redux-saga
Stars: ✭ 14 (-48.15%)
Mutual labels:  workbox
gulp-upload-qcloud
腾讯云 cos 静态资源上传 gulp 插件
Stars: ✭ 18 (-33.33%)
Mutual labels:  cdn
the-shrine-ng
🔴 A progressive web app of a retro soundboard. The Shrine comes with "Gude Laune!" and many more legendary sounds. 🔊
Stars: ✭ 16 (-40.74%)
Mutual labels:  workbox
findcdn
findCDN is a tool created to help accurately identify what CDN a domain is using.
Stars: ✭ 64 (+137.04%)
Mutual labels:  cdn
mos-tls-tunnel
Archived. Check this out https://github.com/IrineSistiana/simple-tls
Stars: ✭ 21 (-22.22%)
Mutual labels:  cdn
wepy-plugin-resources-cdn
上传图片到云存储wepy plugin
Stars: ✭ 38 (+40.74%)
Mutual labels:  cdn
ipx
High performance, secure and easy to use image proxy based on Sharp and libvips.
Stars: ✭ 683 (+2429.63%)
Mutual labels:  cdn
speedy-math
An application which allows user (small kids) to practice basic Mathematics operations
Stars: ✭ 28 (+3.7%)
Mutual labels:  workbox
flex-originals
🎧 A video and audio streaming web application
Stars: ✭ 36 (+33.33%)
Mutual labels:  cdn
chicio.github.io
👻 Fabrizio Duroni (me 😄) personal website. Created using GatsbyJS, Styled Components, Storybook, Typescript, tsParticles, GitHub pages, Github Actions, Upptime.
Stars: ✭ 20 (-25.93%)
Mutual labels:  workbox
GeoLite2-City
GeoLite2-City.mmdb.gz CDN files based on Free Open Source CDN jsDelivr!
Stars: ✭ 170 (+529.63%)
Mutual labels:  cdn
Firecdn
The Low Latency CDN Powered by Firebase
Stars: ✭ 20 (-25.93%)
Mutual labels:  cdn
next-with-workbox
Higher order Next.js config to generate service workers
Stars: ✭ 22 (-18.52%)
Mutual labels:  workbox
parcel-plugin-workbox
🛠️ A plugin for Parcel to generate a service worker with Workbox.
Stars: ✭ 18 (-33.33%)
Mutual labels:  workbox
windows-azure-storage
Use the Microsoft Azure Storage service to host your website's media files.
Stars: ✭ 48 (+77.78%)
Mutual labels:  cdn

Workbox Unofficial CDN

automated circle ci npm version npm downloads install size

Workbox Unofficial CDN and standalone NPM package.

Why?

  • Having public usage/download stats
  • The local type costs ~8M install size for workbox-cli package vs < 1Mb of this package
  • Default workbox CDN is hosted on storage.googleapis.com which is sometimes unavailable

Usage

Add a call to workbox.setConfig({modulePathPrefix: '...'}) to your service worker to use hosted workbox libraries.

See https://goo.gl/Fo9gPX for further documentation.

You have two options:

Option 1: JSDelivr

Use https://cdn.jsdelivr.net/npm/workbox-cdn/workbox/workbox-sw.js

Option 2: NPM Package

Install workbox-cdn package with yarn add workbox-cdn or npm i workbox-cdn and integrate it with your own build system or serve contents of workbox dir

License

Copyright 2018 Google LLC

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].