typeorm-snake-naming-strategy
v1.0.2
Published
Snake naming strategy for TypeORM.
Downloads
518
Readme
typeorm-snake-naming-strategy
Snake naming strategy for TypeORM.
Install
npm i typeorm-snake-naming-strategy
// or
yarn add typeorm-snake-naming-strategy
Usage
// ormconfig.js
const { SnakeNamingStrategy } = require("typeorm-snake-naming-strategy");
module.exports = {
// ...
namingStrategy: new SnakeNamingStrategy()
// ...
};