Hands-On

How to create a screencast

2021-03-05 Hands-On

Creating a screencast is harder than it seems. Despite from the idea, you need the right hardware and software to produce high quality content. Especially the post-production is often underestimated. To make your work easier, we would like to give you a few tips on the way.

Continue reading →

Docker Desktop: Hardware assisted virtualization

2021-01-12 Hands-On

There are TypeScript projects, such as @nestjsx/crud, which use Docker container images. Docker containers simplify application setups (like databases, caches, etc.) by providing pre-configured images in a virtual environment. Virtualization takes a lot of computing power and can be accelerated by hardware-assisted virtualization.

Continue reading →

Understanding Generators, Iterators and Iterables

2020-11-30 Hands-On

A generator function returns a lazy iterator, which generates data only on demand. In the following tutorial, Benny will show you how to code your own generator functions in TypeScript. You will learn the differences between iterators and iterables and how to refactor your code to use generator functions.

Continue reading →

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 →

Convert to milliseconds

2019-07-02 Hands-On

Learn how to get the milliseconds of a specified date in your desired timezone.

Continue reading →

Anatomy of an Electron 4 application

2019-04-15 Hands-On

Overview of main concepts in Electron 4 applications.

Continue reading →

Run Node.js apps on Heroku with TypeScript

2019-03-18 Hands-On

The best way to get started on the Heroku polyglot platform is to follow their fantastic introduction. It’s also worth reading about their supported environments, deployment tasks and European deployment region. The second best advice is to follow our quick setup guide.

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 →

Add a window property with TypeScript

2019-02-19 Hands-On

Sometimes you want to define a custom property on the window namespace. This can be done by declaring it as a global property.

Continue reading →