@nexst/typeorm
TypeScript icon, indicating that this package has built-in type declarations

0.0.62 • Public • Published

😎 @nexst/typeorm 😎

TypeOrmModule

In the server/app.module.ts:

import { Module } from '@nestjs/common';
import { EnvModule } from '@nexst/core';
import {
  TypeOrmModule,
  TypeOrmService,
} from '@nexst/typeorm';

@Module({
  imports: [
    TypeOrmModule.forRootAsync({
      imports: [EnvModule],
      useClass: TypeOrmService,
    }),
    EnvModule,
  ],
})
export class AppModule {}

/@nexst/typeorm/

    Package Sidebar

    Install

    npm i @nexst/typeorm

    Weekly Downloads

    1

    Version

    0.0.62

    License

    MIT

    Unpacked Size

    6.97 kB

    Total Files

    9

    Last publish

    Collaborators

    • saltyshiomix