egg-di-typeorm

typeorm for egg

Usage no npm install needed!

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

README

egg-typeorm-plugin

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

Install

$ npm i egg-typeorm-plugin --save

Usage

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

Configuration

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

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

Example

Questions & Suggestions

Please open an issue here.

License

MIT