egg-hhtcex-response-format

format code, data ,msg

Usage no npm install needed!

<script type="module">
  import eggHhtcexResponseFormat from 'https://cdn.skypack.dev/egg-hhtcex-response-format';
</script>

README

egg-hhtcex-response-format

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

Install

$ npm i egg-hhtcex-response-format --save

Usage

// {app_root}/config/plugin.js
exports.hhtcexResponseFormat = {
  enable: true,
  package: 'egg-hhtcex-response-format',
};

Configuration

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

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

Example

Questions & Suggestions

Please open an issue here.

License

MIT