egg-joi-validator

egg joi validator

Usage no npm install needed!

<script type="module">
  import eggJoiValidator from 'https://cdn.skypack.dev/egg-joi-validator';
</script>

README

egg-joi-validator

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-joi-validator --save

Usage

// {app_root}/config/plugin.js
exports.joi = {
  enable: true,
  package: 'egg-joi-validator',
};

Configuration

// {app_root}/config/config.default.js
exports.joi = {
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT