Framework
nestjs/typescript-starter avatar
nestjs/typescript-starter

nestjs/typescript-starter: a private Nest 12 skeleton with Vitest, oxlint and two paid-platform hooks

Nest framework TypeScript starter :coffee:

2,160 stars1,274 forksTypeScriptLicense varies

At a glance

What is it?
This repository is the starter that Nest ships for new TypeScript projects. Its package.json pins Nest 12, swaps Jest for Vitest and ESLint for oxlint, and carries two dependencies on NestJS commercial tooling.
Who is it for?
Clone it if you want a Nest 12 project with Vitest and oxlint already wired and you are fine with ES modules and TypeScript 6. Do not treat it as a dependency, since package.json marks it private.
Can I use it commercially?
The repository metadata does not identify a licence. Check the project’s published terms and any component-specific licences before reuse.
Is it still maintained?
Yes. The repository last received commits 6 days ago.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • nestjs/typescript-starter2,160 ★ · +6
Star history
Repository2026-10-122026-11-25
nestjs/typescript-starter2.2k2.2k

6 Stars in the last 44 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

package.json marks the starter private and pins Nest to the 12 line

The package is named nest-typescript-starter at version 1.0.0 and flagged private, so it cannot be published to npm by accident. It is a template you copy, not a library you install. The license field reads MIT, and the README repeats that Nest is MIT licensed.

The runtime dependencies are short: @nestjs/common, @nestjs/core and @nestjs/platform-express at ^12.0.1, plus reflect-metadata ^0.2.2 and rxjs ^7.8.1. The HTTP layer is Express, through the platform-express package, with @types/express ^5.0.0 on the development side.

The file also sets type to module, so the project runs as ES modules. Code copied in from older CommonJS Nest examples may need import adjustments before it works here. The repository has no GitHub releases, so the commit history is the only record of how the starter has changed.

Vitest replaces Jest, so the test commands and config files are not the usual ones

Testing runs on Vitest ^4.1.2 with @vitest/coverage-v8 for coverage and supertest ^7.0.0 for HTTP assertions. Two config files drive it: vitest.config.ts for unit tests and vitest.config.e2e.ts for end to end tests. The test/ folder holds the e2e specs and src/ holds the unit tests.

The README lists three commands:

bash
# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

There are two more scripts in package.json that the README does not mention. test:watch runs vitest in watch mode, and test:debug runs vitest --inspect-brk --no-file-parallelism so a debugger can attach to a single process. A team that already has Jest helpers or jest.mock calls will need to port them, because this starter ships none of that setup.

oxlint and Prettier split the lint and format jobs

Linting is oxlint ^1.58.0, not ESLint. The lint script is oxlint src/ test/, configured by .oxlintrc.json, and formatting is a separate Prettier ^3.4.2 script that rewrites every .ts file under src and test using .prettierrc.

The consequence is that lint rules and formatting rules live in different tools. oxlint will not reformat code, and Prettier will not catch unused variables. A CI job needs to run both scripts, and the starter wires neither into a Git hook or pipeline file, since the top level has no .github folder.

Any ESLint plugin your team relies on has no place in this setup. If you need one, you would add ESLint yourself and decide how it coexists with oxlint.

Four commands start the app, and only one of them skips the Nest CLI

Setup is one install, then a choice of start mode:

bash
$ npm install

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

start and start:dev go through nest start, with start:dev adding --watch. start:debug combines --debug and --watch. Only start:prod calls plain node dist/main, which means a build must already have produced the dist folder. The build script is nest build, and nest-cli.json holds the CLI settings.

If you run start:prod on a fresh clone, it fails because dist does not exist yet. Run npm run build first. The README says nothing about that order, so the failure is easy to hit on a first try.

Mau and Observe are wired in as dependencies, not just mentioned

The README advertises two NestJS commercial products, and package.json backs them with real packages. @nestjs/observe ^0.3.0 sits in the runtime dependencies, and @nestjs/mau ^0.2.6 sits in devDependencies. The deploy script is nest deploy.

For Mau, the README gives a global install and a deploy command:

bash
$ npm install -g @nestjs/mau
$ mau deploy

The README describes Mau as the official platform for deploying NestJS applications on AWS. Observe is described as automatic instrumentation covering distributed tracing, metrics, logging, error tracking and SLA monitoring.

Because @nestjs/observe is a runtime dependency, it ships with every project cloned from this starter, whether you use the service or not. The README does not say what Observe does when no account is configured, so check that before deploying a copy to production. Removing the package is the clean exit if you do not want it.

TypeScript 6 and Node 24 types raise the floor for your toolchain

The development dependencies set the baseline: typescript ^6.0.2, @types/node ^24.0.0, tslib ^2.8.1 and source-map-support ^0.5.21. Two tsconfig files split the work, tsconfig.json for the editor and tests and tsconfig.build.json for the build.

The @types/node range suggests a Node 24 target, but package.json has no engines field, so nothing stops an older Node from installing the project and failing later. Pin the Node version in your own deployment config.

The repository also carries an AGENTS.md at the top level. The README does not mention it, so open the file itself to see what guidance it gives coding agents before you start working in the clone.

Maintenance shows in commits, since there are no tagged releases to follow

The repository is not archived, and the last push was on 2026-10-21. With no GitHub releases and a package.json fixed at 1.0.0, there is no version number to track. You learn what changed only by reading commits.

That has a practical effect on upgrades. A project you cloned months ago will not be told that the starter moved to a new Vitest major or swapped its linter. Compare your clone against the current master branch before assuming your setup matches what new projects get.

The README points to docs.nestjs.com for documentation, a Discord channel for questions, official video courses, NestJS Devtools for visualizing the application graph, and an enterprise support page for paid help.

Editorial conclusion

Clone it if you want a Nest 12 project with Vitest and oxlint already wired and you are fine with ES modules and TypeScript 6. Do not treat it as a dependency, since package.json marks it private. Before keeping it, decide whether to remove @nestjs/observe and @nestjs/mau, which are tied to NestJS's own platforms.

Frequently asked questions

What test runner does the NestJS typescript-starter use?

It uses Vitest ^4.1.2, with separate config files vitest.config.ts and vitest.config.e2e.ts. The README lists npm run test, npm run test:e2e and npm run test:cov.

Does the NestJS typescript-starter use ESLint?

No. Linting is oxlint ^1.58.0, run through the lint script as oxlint src/ test/. Formatting is handled separately by Prettier.

Which command runs the NestJS typescript-starter in watch mode?

npm run start:dev, which calls nest start --watch. The start:prod script runs node dist/main and needs a prior build.

Official sources

  1. Issues
  2. nestjs/typescript-starter on GitHub
  3. Project website
  4. README
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/nestjs-typescript-starter.svg)](https://hysenlabs.com/projects/nestjs-typescript-starter)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/nestjs-typescript-starter.svg)](https://hysenlabs.com/projects/nestjs-typescript-starter)

Was this useful?