Socket
Book a DemoInstallSign in
Socket

nestjs-mongo

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestjs-mongo

A NestJS module that provide a simple mongodb orm like

0.15.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

nestjs-mongo

NestJS Mongo is a module that provide a little orm. Build with typescript and the nodejs mongodb driver

Install FROM NPM

npm install nestjs-mongo
# or unig yarn
yarn add nestjs-mongo

Usage

An example of nestjs module that import the nestjs-mongo

// module.ts
import { Module } from '@nestjs/common';
import { MongoModule } from 'nestjs-mongo';

@Module({
    imports: [
        MongoModule.forRootAsync({
            imports: [],
            useFactory: (config: ConfigService) => ({
                uri: config.mongoUri
            }),
            inject: [MyConfigService]
        })
    ]
})
export class MyModule {}

....More coming soon.

Documentation

A typedoc is generated and available on github https://pop-code.github.io/nestjs-mongo

CHANGELOG

TODO

  • write wiki
  • add more tests
  • add examples

Keywords

nestjs

FAQs

Package last updated on 30 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.