@jokeyrhyme/appcache-fetcher

2.0.1 • Public • Published

appcache-fetcher.js npm module AppVeyor Status Travis CI Status

store an AppCache-enabled site on disk for local use

Usage

FetcherOptions

  • @typedef {Object} FetcherOptions

  • @property {string} localPath - filesystem directory to store assets.

  • @property {string} remoteUrl

  • @property {boolean} [strictMode=true] - W3C behaviour, halt on failure.

new Fetcher(opts)

  • @constructor
  • @param {FetcherOptions} opts

Fetcher#go()

Trigger the whole process, downloading remote assets, processing them, and storing them locally.

Compatibility

  • versions >=2.x require Node.js >=4.x

Readme

Keywords

Package Sidebar

Install

npm i @jokeyrhyme/appcache-fetcher

Weekly Downloads

10

Version

2.0.1

License

BSD-2-Clause

Last publish

Collaborators

  • jokeyrhyme
  • simon_marklar