egg-prisma

PrismaJS plugin for Egg Framework

Usage no npm install needed!

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

README

egg-prisma

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

Install

$ npm i egg-prisma --save

Usage

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

Configuration

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

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

Example

Questions & Suggestions

Please open an issue here.

License

MIT