【文件属性】:
文件名称:html2json:将HTML转换为JSON
文件大小:7KB
文件格式:ZIP
更新时间:2021-04-30 19:09:31
JavaScript
以html为对象,快速简便
##用法仅在需要时提供带有网站链接和参数的解析。 默认情况下将解析并将结果保存到“ output.json”文件
❯ html2json
Usage: html2json [options]
Parse provided website
Options:
-h, --help output usage information
-V, --version output the version number
-o --output [filename] Set output file(output.json by default)
-q --quiet Do not display output to console
Examples:
【文件预览】:
html2json-master
----.travis.yml(85B)
----index.js(1KB)
----package.json(898B)
----test()
--------converterTests.js(1KB)
--------basicTests.js(3KB)
--------418.html(135B)
--------downloaderTests.js(752B)
----LICENSE(1KB)
----CONTRIBUTING.md(292B)
----.gitignore(539B)
----lib()
--------downloader.js(298B)
--------converter.js(2KB)
----README.md(1KB)