0.2.0 • Published 10 months ago

@haorama/nestjs-tg v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Nestjs Typegoose

Typegoose module for nestjs

it used almost same behavior as @nestjs/mongoose

Installation

npm install mongoose @typegoose/typegoose @haorama/nestjs-tg

yarn add mongoose @typegoose/typegoose @haorama/nestjs-tg

pnpm add mongoose @typegoose/typegoose @haorama/nestjs-tg

Usage

import { Module } from "@nestjs/common";
import { TypegooseModule } from "@haorama/nestjs-tg";

@Module({
  imports: [
    TypegooseModule.forRoot(
      "mongodb://localhost:27017/test",
    ),
  ],
})
export class AppModule {}

Todos

  • Test using different / custom connectionName
0.2.0

10 months ago

0.1.0

11 months ago

0.0.1

12 months ago