View Code? Open in Web Editor
NEW
Collection of notes regarding Backend Development
JavaScript 82.46%
TypeScript 16.89%
C++ 0.66%
backendnotes's Introduction
-
npm install typescript ts-node nodemon @types/node -D
: ts-node allows for just in-time compilation
-
@types/
... can be usefull to allow for autocorrect for types in typescript
-
npx tsc --init
-
tsc --watch
-
node --loader ts-node/esm app.ts
: experimental but allows for the use of modules as well as ts-node
- target: ESNext allows for
let
and const
- module: Allows to use
import
instead of require
- outDir: Folder to seperate source and compiled files
backendnotes's People
Contributors
Watchers