typeorm-repository-provider
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

typeorm-repository-provider

Custom repository provider for TypeORM in NestJS.

Installation

npm install typeorm-repository-provider

Usage

import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Provider } from 'typeorm-repository-provider';
 
@Module({
  imports: [
    TypeOrmModule.forFeature([MyEntity]),
  ],
  providers: [
    Provider.forRepository(MyCustomRepository),
  ],
})
export class MyModule { }

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    2
  • 1.0.2
    0
  • 1.0.1
    0

Package Sidebar

Install

npm i typeorm-repository-provider

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

4.96 kB

Total Files

10

Last publish

Collaborators

  • gregbacchus