@justeat/f-serviceworker

    1.0.1 • Public • Published

    f-serviceworker 🐻

    npm version Build Status install size

    Contains the registration script for service-worker.js located in the root of your website.

    const sw = require('@justeat/f-serviceworker');
    sw.register();

    on all pages that should be managed by the service worker.

    Optional configuration object can be passed containing the service-worker.js path. Defaults to /service-worker.js

    Sw.register({ swPath: '/subdir/service-worker.js' });

    Keywords

    none

    Install

    npm i @justeat/f-serviceworker

    DownloadsWeekly Downloads

    6

    Version

    1.0.1

    License

    Apache-2.0

    Unpacked Size

    5.56 kB

    Total Files

    5

    Last publish

    Collaborators

    • carlos.ortega
    • justeatui
    • gareththackeray
    • sonnyprince
    • dawidchar
    • ashleynolan
    • jonrea
    • djmelonz
    • hwallis
    • simonsje
    • kevinrodrigues
    • oleksiishevchuk
    • xander-marjoram
    • sergii.semenkiv
    • dandel10n
    • cloudcooke
    • meselgroth
    • rjimms92
    • sachazvetelman
    • tompoole
    • luke.parry
    • banksysan
    • cak8
    • sergej-popov
    • thomaswilliammcclean
    • jonpark
    • dsomok
    • benrwhite
    • robertellison
    • anfan
    • lauren.rodney
    • lzuk-je
    • zlatin.ivanov
    • adamashton
    • siggerzz
    • fayecarter
    • alixrichards
    • mwh1989
    • jnewc
    • ross_gratton_jet
    • joshuang2332
    • oliversweb
    • andymayje
    • pakedziora
    • lizzie.turney
    • charliearlie
    • jamieomaguire
    • anastasiya.t
    • adammorr
    • jonkers
    • juan.amor
    • dan-mcguckin
    • lsphillips