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.
- Biome: For formatting, linting, and organizing imports.
Learn more: biomejs.dev - Vitest: For testing.
Learn more: vitest.dev
git clone https://github.com/xosnrdev/node-ts-template.git your-project-name
cd your-project-name
pnpm install
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
This project is licensed under the MIT License.