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

0.0.6 • Public • Published

Angular TypeOrm Module


Usage:

Install in your existing project through package manager

npm install --save angular-typeorm@latest
# Or  
yarn add angular-typeorm@latest

Or add the following in your package.json

"dependencies"{
    "angular-typeorm": "^0.0.1"
}

and run npm install Or yarn to install dependencies.

Initialize TypeOrm Module:

Import AngularTypeormModule in your app module and provide ConnectionOptions.

import { AngularTypeormModule } from 'angular-typeorm';
 
@NgModule({
  declarations: [],
  imports: [
    AngularTypeormModule.forRoot({
        // Put your typeorm
        // connection options here  
    })
  ],
  providers: [],
  bootstrap: [AppComponent]
})
 
export class AppModule {}

Package Sidebar

Install

npm i angular-typeorm

Weekly Downloads

2

Version

0.0.6

License

MIT

Unpacked Size

81.9 kB

Total Files

15

Last publish

Collaborators

  • arslanmughal