Socket
Socket
Sign inDemoInstall

ember-service-worker

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-service-worker

The default blueprint for ember-cli addons.


Version published
Weekly downloads
2.9K
increased by28.8%
Maintainers
2
Weekly downloads
 
Created
Source

Ember Service Worker

A pluggable approach to Service Workers for Ember.js

Ember Observer Score Build Status

Batteries excluded

Without any extra addons all this addon does is install a Service Worker, but the Service Worker itself will do nothing. This allows you to craft a set of addons that make the Service Worker function the way you want it to.

Installation

ember install ember-service-worker

Available plugins

For a full list of available Ember Service Worker plugins: click here

Authoring plugins

To create an Ember Service Worker plugin, you first need to add the ember-service-worker-plugin keyword to the keywords option in the plugin's package.json

Then create a file with the same name as your Ember Service Worker plugin within the service-worker folder that should be in the root of your addon. For example: service-worker/ember-service-worker-asset-cache.js. This file will automatically be loaded by the created service worker.

All other files in the service-worker directory will also be copied to your build of the application. This enables you to use importScript to load additional files.

All the plugins have the VERSION constant available to them. This is a timestamp and will change on every rebuild of sw.js.

Authors

Versioning

This library follows Semantic Versioning

Want to help?

Please do! We are always looking to improve this library. Please see our Contribution Guidelines on how to properly submit issues and pull requests.

DockYard, Inc. © 2016

@dockyard

Licensed under the MIT license

Keywords

FAQs

Package last updated on 29 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc