@rhtml/mongoose
v0.0.15
Published
Mongoose module wrapper
Downloads
243
Readme
@rhtml/mongoose
Installation
npm i @rhtml/mongoose
Usage
import { Module } from '@rhtml/di';
import mongoose from 'mongoose';
import { MongoDbModule } from './mongodb';
@Module({
imports: [MongoDbModule.forRoot(mongoose, 'MONGODB_CONNECTION_STRING')],
})
export class CoreModule {}