{"id":13807787,"url":"https://github.com/GreatWizard/ember-service-worker-unregistration","last_synced_at":"2025-05-14T00:32:05.727Z","repository":{"id":57224308,"uuid":"119896218","full_name":"GreatWizard/ember-service-worker-unregistration","owner":"GreatWizard","description":"An Ember plugin that unregister service workers when ember-service-worker is disabled.","archived":false,"fork":false,"pushed_at":"2018-03-17T13:23:47.000Z","size":279,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-05T12:47:17.556Z","etag":null,"topics":["ember-addon","ember-service-worker","service-worker","unregistration"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GreatWizard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-01T21:32:24.000Z","updated_at":"2022-01-20T10:40:12.000Z","dependencies_parsed_at":"2022-08-30T02:10:47.448Z","dependency_job_id":null,"html_url":"https://github.com/GreatWizard/ember-service-worker-unregistration","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreatWizard%2Fember-service-worker-unregistration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreatWizard%2Fember-service-worker-unregistration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreatWizard%2Fember-service-worker-unregistration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreatWizard%2Fember-service-worker-unregistration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GreatWizard","download_url":"https://codeload.github.com/GreatWizard/ember-service-worker-unregistration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254046404,"owners_count":22005588,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ember-addon","ember-service-worker","service-worker","unregistration"],"created_at":"2024-08-04T01:01:30.381Z","updated_at":"2025-05-14T00:32:00.715Z","avatar_url":"https://github.com/GreatWizard.png","language":"JavaScript","funding_links":[],"categories":["Packages"],"sub_categories":["Service Workers"],"readme":"# Ember Service Worker Unregistration\n\n[![Build Status](https://travis-ci.org/GreatWizard/ember-service-worker-unregistration.svg?branch=master)](https://travis-ci.org/GreatWizard/ember-service-worker-unregistration) [![Ember Observer Score](https://emberobserver.com/badges/ember-service-worker-unregistration.svg)](https://emberobserver.com/addons/ember-service-worker-unregistration)\n\n_An Ember plugin that unregister service workers when ember-service-worker is disabled._\n\n## Installation\n\n```\nember install ember-service-worker-unregistration\n```\n\n## Configuration\n\nThis plugin inject unregistration loop code at the bottom of your `index.html` file.\n\nTo unregister all your service workers you just need to disable ember-service-worker.\nThe configuration is done in the `ember-cli-build.js` file:\n\n```js\nvar EmberApp = require('ember-cli/lib/broccoli/ember-app');\n\nmodule.exports = function(defaults) {\n  var app = new EmberApp(defaults, {\n    'ember-service-worker': {\n      // Disable the Service Worker\n      enabled: false,\n      // There are various ways to inject the service worker registration script.\n      // By default, the unregistration file is loaded using a simple script tag in the bottom of the body tag\n      // async: the unregistration file is loaded using a async script tag in the bottom of the head tag\n      // inline: write the contents of the registration script into the index.html file\n      registrationStrategy: 'inline'\n      // Force to create the unregistration file\n      unregistrationEnabled: true\n    }\n  });\n\n  return app.toTree();\n};\n```\n\n## Authors\n\n* [Guillaume Gérard](http://twitter.com/ggerard88)\n\n## Versioning\n\nThis library follows [Semantic Versioning](http://semver.org)\n\n## Want to help?\n\nPlease do! We are always looking to improve this library. Please see our\n[Contribution Guidelines](https://github.com/greatwizard/ember-service-worker-unregistration/blob/master/CONTRIBUTING.md)\non how to properly submit issues and pull requests.\n\n## Legal\n\n[Licensed under the MIT license](http://www.opensource.org/licenses/mit-license.php)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGreatWizard%2Fember-service-worker-unregistration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGreatWizard%2Fember-service-worker-unregistration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGreatWizard%2Fember-service-worker-unregistration/lists"}