typeorm-snake-naming-strategy
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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()
  // ...
};

Package Sidebar

Install

npm i typeorm-snake-naming-strategy

Weekly Downloads

115

Version

1.0.2

License

MIT

Unpacked Size

6.81 kB

Total Files

11

Last publish

Collaborators

  • xudong