Launch multiple NodeJS worker threads under a typescript environment
- Typescript: https://www.typescriptlang.org/
- NodeJS Worker Threads: https://nodejs.org/api/worker_threads.html
- TSX compiler: https://www.npmjs.com/package/tsx
- Dotenv: https://www.npmjs.com/package/dotenv
- Launch multiple worker threads with NodeJS
- Have typescript typesafety inclued
- Automatic and easy execution without building steps
- Load process.env variables configuration
npm ci # Install dependencies
cp .env.example .env # And fill .env file variables
npm run dev # Launch project locally