/aki-egg-mongoose

The mongoose extend plugin for egg

Primary LanguageJavaScriptMIT LicenseMIT

egg-akiya-egg-mongoose

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

Install

$ npm i egg-akiya-egg-mongoose --save

Usage

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

Configuration

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

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

Example

Questions & Suggestions

Please open an issue here.

License

MIT