egg-only

egg only plugin

Usage no npm install needed!

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

README

egg-only

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

Install

$ npm i egg-only --save

Usage

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

Configuration

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

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

Example

Questions & Suggestions

Please open an issue here.

License

MIT