shex-codegen

时间:2021-03-29 01:47:36
【文件属性】:
文件名称:shex-codegen
文件大小:110KB
文件格式:ZIP
更新时间:2021-03-29 01:47:36
TypeScript 舍克斯码原 一个从Shape Expressions生成打字稿对象的库。 | | 用法 通过首选的节点软件包管理器安装软件包: npm i --save-dev shex-codegen或yarn add -D shex-codegen 将一个配置文件添加到您的项目根目录(称为shex-codegen.yml ,其结构大致如下: # path to the folder or file with shape expressions schema : " src " generates : # this will be the path of the generated file. It has to end with .ts node_modules/@generated/shex.ts : # the visitors to visit the schema wit
【文件预览】:
shex-codegen-master
----renovate.json(41B)
----package.json(1KB)
----test()
--------generate.test.ts(428B)
--------shapes()
--------__snapshots__()
----jest.config.ts(6KB)
----src()
--------watch.ts(2KB)
--------visitors()
--------generate.ts(4KB)
--------config.ts(431B)
--------index.ts(28B)
----shex-codegen.yml(77B)
----tsconfig.json(6KB)
----.gitignore(37B)
----README.md(3KB)
----yarn.lock(226KB)
----babel.config.js(133B)
----own-namespace.json(3B)
----declarations.d.ts(121B)

网友评论