parse-appcache-manifest

Parses HTML5 application cache manifest.

parse-appcache-manifest

Parses HTML5 application cache manifest.

parseManifest = require("parse-appcache-manifest")
entries = parseManifest(manifest)

entries will be an object with three properties: cache, network, fallback.

cache and network are both arrays which contain entries.

fallback is an object with the url (or url pattern) as key, and the fallback url as value.

The initial structure of this module was generated by Jumpstart, using the Jumpstart Black Coffee template.

This code is based on code from Mikko Ohtamaa.

parse-appcache-manifest is released under the MIT License.
Copyright (c) 2013 Meryn Stol