egg-validator-ts
v1.1.3
Published
eggjs 使用 typescript 开发时好用的参数验证框架
Downloads
21
Maintainers
Readme
egg-validator-ts
About
Install
$ npm i egg-validator-ts --save
Usage
// {app_root}/config/plugin.js
exports.validatorTs = {
enable: true,
package: 'egg-validator-ts',
};
Configuration
// {app_root}/config/config.default.js
exports.validatorTs = {
};
see config/config.default.js for more detail.
Example
Questions & Suggestions
Please open an issue here.