NestJS Snippets

January 20, 2026 ยท View on GitHub

Snippets info

Every space inside { } and ( ) means that this is pushed into next line :) $ represent each step after tab.


NestJS Core

SnippetPurpose
n-controllerNestJS Controller
n-guardNestJS Guard
n-interceptorNestJS Interceptor
n-middlewareNestJS Middleware
n-v4-middlewareNestJS Middleware Version 4
n-pipeNestJS Pipe
n-providerNestJS Provider

NestJS Modules

SnippetPurpose
n-moduleNestJS Module
n-module-rootNestJS Root Module
n-module-nestNestJS Module Implementing NestModule
n-module-globalNestJS Global Module
n-v4-moduleNestJS Module v4

NestJS Testing

SnippetPurpose
n-testNestJS Unit Test
n-test-serviceNestJS Service Unit Test

NestJS TypeORM

SnippetPurpose
n-typeorm-entityNestJS TypeORM Entity
n-typeorm-repositoryNestJS TypeORM Repository

NestJS Mongoose

SnippetPurpose
n-mongoose-interfaceNestJS Interface for mongoose
n-mongoose-serviceNestJS Service for Mongoose

NestJS Sequelize

SnippetPurpose
n-sequelize-entityNestJS Sequelize Entity
n-sequelize-providerNestJS Sequelize Provider
n-sequelize-database-providerNestJS Sequelize Database Provider