DEV Community

Cover image for The easiest way ever to create a Node TypeScript Project!
Raggi
Raggi

Posted on

The easiest way ever to create a Node TypeScript Project!

Hello everyone!

Today I would like to share with you a very simple way to get up and running with a new Node TypeScript project.

All it takes is running a single command from your terminal

$ npx node-ts-new
Enter fullscreen mode Exit fullscreen mode

You would then get a Node.js TypeScript project configured with:

  • nodemon
  • eslint
  • prettier
  • dotenv

The generated project folder structure looks like this

Generated Project Folder Structure

Thats it!. Please feel free to check out the github repo for this package and even contribute to it!

Discussion (2)

Collapse
bias profile image
Tobias Nickel

nice, often I used create-react-app and removed react. next time I give this a try.

Collapse
ragrag profile image
Raggi Author

I used to do a similar thing as well! lots of effort every time was starting a new project