© Jörg Krause 2017

Jörg Krause, Programming Web Applications with Node, Express and Pug , 10.1007/978-1-4842-2511-0_4

4. The Most Important Node Modules

Jörg Krause

(1)Berlin, Germany

This chapter shows the most important modules, with which elementary tasks in a Web application can be settled. Thereby it concerns the actual Node library.

Global Modules

Gobal modules are always present and do not have to be agreed upon.

Timer

Interval timers abstract to a large extent the possibilities offered according to standard by JavaScript. Absolutely use the Node variant, in order to get no problems later with other parallel running modules.

setTimeout

This instruction agrees upon the call of the callback function after a certain period in milliseconds. Optionally, ...

Get Programming Web Applications with Node, Express and Pug now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.