没有合适的资源?快使用搜索试试~ 我知道了~
json-schema-traverse:遍历 JSON Schema 将每个架构对象传递给回调
共13个文件
yml:5个
js:3个
json:1个
需积分: 40 0 下载量 52 浏览量
2021-08-04
07:39:35
上传
评论
收藏 10KB ZIP 举报
温馨提示
json-schema-traverse 遍历 JSON Schema 将每个架构对象传递给回调 安装 npm install json-schema-traverse 用法 const traverse = require ( 'json-schema-traverse' ) ; const schema = { properties : { foo : { type : 'string' } , bar : { type : 'integer' } } } ; traverse ( schema , { cb } ) ; // cb is called 3 times with: // 1. root schema // 2. {type: 'string'} // 3. {type: 'integer'} // Or: traverse ( schema
资源推荐
资源详情
资源评论
收起资源包目录
json-schema-traverse-master.zip (13个子文件)
json-schema-traverse-master
.eslintrc.yml 630B
index.js 2KB
package.json 1KB
.github
FUNDING.yml 57B
workflows
build.yml 582B
publish.yml 678B
LICENSE 1KB
index.d.ts 740B
spec
.eslintrc.yml 91B
index.spec.js 6KB
fixtures
schema.js 5KB
.gitignore 913B
README.md 3KB
共 13 条
- 1
资源评论
蕾拉聊以色列
- 粉丝: 20
- 资源: 4696
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功