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