没有合适的资源?快使用搜索试试~ 我知道了~
html-scripts-to-array:将 html 脚本源转换为 JSON 数组
共6个文件
js:2个
gitignore:1个
json:1个
需积分: 9 0 下载量 160 浏览量
2021-07-04
18:07:14
上传
评论
收藏 5KB ZIP 举报
温馨提示
#html-scripts-to-array 用于提取 HTML 脚本 src 链接到 JSON 文件的 JavaScript 实现。 安装 $ npm install html-scripts-to-array ##例子 var convert = require ( "html-scripts-to-array" ) ; var files = convert . extract ( 'index.html' ) ; console . log ( files ) ; //['file1.js', file2.js', 'file3.js'] convert . extractJSON ( 'index.html' , 'arrayOutput.json' ) ; // creates file 'arrayOutput.json' with ['file1.js', file2
资源推荐
资源详情
资源评论
收起资源包目录
html-scripts-to-array-master.zip (6个子文件)
html-scripts-to-array-master
index.js 2KB
package.json 714B
test
extractSpec.js 760B
mockData
index1.html 6KB
.gitignore 21B
README.md 464B
共 6 条
- 1
资源评论
无分别
- 粉丝: 22
- 资源: 4574
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功