This is a boilerplate with the necessary configurations to run a typescript application using Node.Js.
To get the new-node-ts-app
command, run the following:
npm install new-node-ts-app
Create a new project using the new-node-ts-app
command:
new-node-ts-app projectName
Or, clone the repository using the folowing command:
git clone https://github.com/ixlammm/node-typescript-boilerplate.git projectName
This contains the following packages:
typescript
andts-node
: for Typescript supportnodemon
: for watch supportexpress
: for creating an http server
Note: the express
package is not necessary and is just installed for the provided example, you can remove it using the command : npm uninstall express