DEV Community

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

The easiest way ever to create a Node TypeScript Project!

ragrag profile image Raggi ・1 min read

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)

pic
Editor guide
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