2.0.1 • Published 8 years ago

@jokeyrhyme/appcache-fetcher v2.0.1

Weekly downloads
1
License
BSD-2-Clause
Repository
github
Last release
8 years ago

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