Skip to content
/ node-ts-template Public template

A minimal template for bootstrapping Node.js and TypeScript projects.

License

Notifications You must be signed in to change notification settings

xosnrdev/node-ts-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-ts-template

A minimal template for bootstrapping Node.js and TypeScript projects.

This template includes pre-configured tools to ensure consistent code quality, style, and testing practices.

Features

  • Biome: For formatting, linting, and organizing imports.
    Learn more: biomejs.dev
  • Vitest: For testing.
    Learn more: vitest.dev

Usage

1. Clone the Repository

git clone https://github.com/xosnrdev/node-ts-template.git your-project-name
cd your-project-name

2. Install Dependencies

pnpm install

3. Start Developing

Replace the placeholder files with your project code.

Use the following commands to maintain code quality and run tests:

pnpm check       # Check code for issues with Biome
pnpm fmt         # Format code with Biome
pnpm test        # Run tests with Vitest
pnpm fix         # Automatically fix issues with Biome
pnpm build      # Compile TypeScript with tsc

License

This project is licensed under the MIT License.

About

A minimal template for bootstrapping Node.js and TypeScript projects.

Topics

Resources

License

Stars

Watchers

Forks