没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
猫鼬模式解析器 Mongoose Schema Parser工具解析项目中定义的Mongoose架构,并以JSON格式返回数据。 这个怎么运作 脚本使用猫鼬实例解析注册的架构。 您可以从CLI或应用程序代码内部使用它。 安装 如果要从cli使用它,请全局安装 npm i -g mongoose-schema-parser 或本地(如果您想从代码中使用它) npm i mongoose-schema-parser --save 用法 CLI使用 如果您全局安装软件包,则可以在系统中的任何位置运行它。 脚本以JSON格式返回具有已解析架构的文件。 mongoose-schema-parser -c /path/to/project -p " **/*.model.js " -o output-schema.json 脚本选项: -c, --cwd Current working directory [string] [default: " /your/project/dir " ] -p, --pattern Search
资源推荐
资源详情
资源评论
收起资源包目录
mongoose-schema-parser-master.zip (33个子文件)
mongoose-schema-parser-master
.travis.yml 163B
.eslintrc 196B
bin
parse.sh 2KB
index.js 2KB
img
cli-example.png 26KB
package.json 2KB
test
schema
test-parse-property-details.js 3KB
test-get-mongoose-array-type.js 946B
test-parse-schema.js 11KB
test-get-schema-object.js 7KB
test-get-property-type.js 5KB
temp
.gitignore 47B
file
test-save-file.js 894B
test-find-files-by-pattern.js 590B
test-files
example-require-error.js 212B
example-01.js 173B
no-mongoose-example.js 30B
utils
test-has-own-property.js 852B
test-object-deep-merge.js 1KB
test-is-object.js 473B
format
test-get-output-formats.js 318B
test-get-output-format.js 652B
test-format.js 696B
parser
test-find-child-module.js 878B
test-parse-schema-from-mongoose.js 1KB
test-parse-schema-from-files.js 1KB
package-lock.json 215KB
.gitignore 219B
lib
utils.js 735B
file.js 392B
schema.js 7KB
format.js 782B
README.md 4KB
共 33 条
- 1
资源评论
愍蟊朙
- 粉丝: 21
- 资源: 4709
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功