February 2019
Beginner
694 pages
18h 4m
English
In order to build an Express application, we will need to install Express in our development environment, as well as include the various declaration files that are needed for TypeScript compilation. Express can be installed using npm as follows:
npm init npm install express --save
Once Express has been installed, we will need the corresponding declaration files, as follows:
npm install @types/express --saveDev
Express uses a series of other npm libraries whose declaration files are not included in the core express.d.ts declaration file. In order to allow for TypeScript compilation, we will need to install a few other declaration files as follows:
npm install @types/express-serve-static-core --saveDev npm install @types/serve-static ...
Read now
Unlock full access