0.2.0 • Published 11 years ago

parse-appcache-manifest v0.2.0

Weekly downloads
3
License
-
Repository
github
Last release
11 years ago

parse-appcache-manifest Build Status Dependency Status

Parses HTML5 application cache manifest.

Usage

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.

Credits

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.

License

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