cwdoh / sw-helpers

Service Worker helper libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Dependency Status Dev Dependency Status

SW Helpers

The Libraries

sw-appcache-behavior

Build Status

A service worker implementation of the behavior defined in a page's App Cache manifest.

Install: npm install --save-dev sw-appcache-behavior

Learn More: AboutDemoAPI

sw-background-sync-queue

Build Status

A service worker implementation of the a queue which is triggered by the background sync event.

Install: npm install --save-dev sw-background-sync-queue

Learn More: AboutDemoAPI

sw-broadcast-cache-update

Build Status

A helper library that uses the Broadcast Channel API to announce when two Response objects differ.

Install: npm install --save-dev sw-broadcast-cache-update

Learn More: AboutDemoAPI

sw-cache-expiration

Build Status

This library is still a work in progress and is not functional.

Install: npm install --save-dev sw-cache-expiration

Learn More: AboutDemoAPI

sw-lib

Build Status

A service worker library to make managing fetch requests and caching as easy as possible.

Install: npm install --save-dev sw-lib

Learn More: AboutDemoAPI

sw-offline-google-analytics

Build Status

A service worker helper library to retry offline Google Analytics requests when a connection is available.

Install: npm install --save-dev sw-offline-google-analytics

Learn More: AboutDemoAPI

sw-precaching

Build Status

This library is still a work in progress and is not functional.

Install: npm install --save-dev sw-precaching

Learn More: AboutDemoAPI

sw-routing

Build Status

A service worker helper library to route request URLs to handlers.

Install: npm install --save-dev sw-routing

Learn More: AboutDemoAPI

sw-runtime-caching

Build Status

A service worker helper library that implements various runtime caching strategies.

Install: npm install --save-dev sw-runtime-caching

Learn More: AboutDemoAPI

External Contributions

Please read the guide to contributing prior to filing any pull requests.

License

Copyright 2016 Google, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Service Worker helper libraries

License:Apache License 2.0


Languages

Language:JavaScript 91.9%Language:HTML 7.4%Language:Ruby 0.5%Language:CSS 0.2%