没有合适的资源?快使用搜索试试~ 我知道了~
yawn-yaml:保留评论和样式的YAML解析器
共39个文件
js:13个
yaml:8个
json:4个
需积分: 5 0 下载量 115 浏览量
2021-05-14
05:03:46
上传
评论
收藏 79KB ZIP 举报
温馨提示
YAWN YAML 保留评论和样式的YAML解析器 用法 // If you use ES2015 modules import YAWN from 'yawn-yaml' ; // If you use CommonJS modules const YAWN = require ( 'yawn-yaml/cjs' ) let str = ` # my comment value: 1 # the value is here! ` ; let yawn = new YAWN ( str ) ; yawn . json = { value : 2 } ; // value in `yawn.yaml` is now changed. console . log ( yawn . yaml ) ; // => // # my comment // value: 2 # the value i
资源推荐
资源详情
资源评论
收起资源包目录
yawn-yaml-master.zip (39个子文件)
yawn-yaml-master
.travis.yml 18B
.eslintrc 13KB
jsconfig.json 88B
package.json 1KB
.github
workflows
npmpublish.yml 994B
test
.eslintrc 83B
object.js 5KB
end-to-end.js 722B
remark.js 5KB
lint.js 153B
deep.js 2KB
number.js 2KB
end-to-end
1
output.yaml 291B
input.yaml 212B
2
output.yaml 523B
input.yaml 136B
3
output.yaml 35B
input.yaml 26B
4
output.yaml 229B
input.yaml 302B
array.js 4KB
string.js 859B
index.html 48B
LICENSE 1KB
dist
yawn.js 52KB
src
index.js 12KB
error.js 170B
cjs
index.js 15KB
error.js 2KB
.gitignore 37B
playground.html 331B
demo
index.html 4KB
arrow.svg 1KB
arrow-selected.svg 1KB
README.md 1KB
yarn.lock 130KB
.eslintignore 29B
bower.json 346B
.vscode
launch.json 3KB
共 39 条
- 1
资源评论
粢范团
- 粉丝: 31
- 资源: 4697
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功