Latest posts

Fastest way to set up a TypeScript project with Node.js (npm)

2020-08-04 Hands-On

Setting up a TypeScript project with Node.js takes only a few minutes. Here is how to do it the fastest way by just using npm and yarn.

Continue reading →

Error TS2307: Cannot find module events

2020-06-03 Hands-On

Extending the EventEmitter class from Node.js might cause error TS2307. Here is how to fix it.

Continue reading →

Top-level await in TypeScript 3.8

2020-03-30 New Features

TypeScript 3.8 introduces a new functionality which is called top-level await. It allows developers to use the await keyword without a surrounding async function at the top level of a module.

Continue reading →

Parse command line arguments in Node.js

2019-03-11 Hands-On

There are many libraries to build CLI tools for Node.js like optimist, minimist, yargs, Caporal.js and commander to name just a few. In the following article Benny gives you an overview of his favorites.

Continue reading →