【文件属性】:
文件名称:fetch-manifest-json:获取manifest.json
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-03 11:05:58
JavaScript
fetch-manifest-json
从PWA获取mainfest.json。
安装
$ npm install --save fetch-manifest-json
用法
const fetchManifestJson = require ( 'fetch-manifest-json' ) ;
fetchManifestJson ( < URL> ).then(console.log).catch(console.error);
命令行界面
$ npm install --global fetch-manifest-json
$ fetch-manifest-json --help
Usage
fetch-manifest-json [URL]
Example
$ fetch-manifest-json https://jsfeatures.in
{ name: '
【文件预览】:
fetch-manifest-json-master
----.snyk(351B)
----.gitattributes(29B)
----test.js(140B)
----license(1KB)
----.travis.yml(43B)
----.editorconfig(190B)
----.gitignore(14B)
----index.js(1KB)
----readme.md(1KB)
----cli.js(578B)
----package.json(826B)