0.1.5 • Published 8 years ago
manifest-res-m v0.1.5
###支持从本地HTML文件和远程地址中提取manifest资源
###安装 $ npm install manifest-res
###使用 var mr = require("manifest-res"); mr.build("http://weibo.com", "weibo.appcache", function(data){ console.log(data); });
###对象方法: build(file, manifestFileName, callback); 参数: file参数可以是本地html文件路径,也可以是http路径; manifestFileName为新生成的文件名; callback回调接收一个data(Array)参数,为提取出来的资源列表;
Release History
- 0.1.3 First Release