How to Set Up a Node.js Project with TypeScript
In this tutorial, you will learn how to add TypeScript support to Node.js projects. Let's get going!
In this tutorial, you will learn how to add TypeScript support to Node.js projects. Let's get going!
If you haven’t checked out the first two-part of our ‘Securing your Applications in Node.js’ series, click here and the second part here. This is a 3-part blog series on Node.js. This article aims to establish a Node.js security roadmap by addressing security challenges comprehensively and consistently for large infrastructures. Let’s begin! 🚀
This post describes how I built a realtime collaboration app that scrum teams can use for planning poker. Planning poker, also known as Scrum poker, is a gamified technique for estimating the size of user stories. This helps in deciding how many stories can be put into a sprint. Usually story points in the Fibonacci scale is used as a metric, but T-shirt sizing, like small, medium, and large, is also used.
If you haven’t checked out the first part of Securing your Applications in Node.js, click here. This is a 3-part blog series on Node.js. This article aims to establish a Node.js security roadmap by addressing security challenges comprehensively and consistently for large infrastructures. Let’s begin! 🚀
Caching is a common technique for making your applications faster. It lets you avoid slow operations by reusing previous results. In this article, Ayo Asaiah walks us through the different options for caching in NodeJS applications.
Express and Hapi are frameworks based on Node.js, an open-source server environment that runs on various platforms, using JavaScript as the language of choice. Since both frameworks are Nodejs-based and popularly used for web and mobile application development, let’s compare them and see which is more suitable for your needs as a developer.
Node.js is a free, cross-platform JavaScript runtime environment, while single-threaded in nature, executes asynchronous code using several threads in the background. Because of its design, Node.js has received a lot of flak. It seems unusual that Node.js doesn't have direct access to threads when compared to programming languages like Java, C, or Python. The worker_thread module in Node.js 11 allows us to launch many threads on a single core.
I know, right? NPM 8 was released just a couple of months ago and you’re looking for a blog post that summarizes all the changes and new stuff in the new version because you want to be ahead of the curve or simply don’t want your app to crash when upgrading. You googled but nothing relevant appeared; only a document from Github blog that refers to this issue on the NPM organization.
In this post, we will explore memory heap allocation in Node and push local hardware to its limit. Then we will find practical ways to monitor Node processes to debug memory issues. Ready? Let’s get going! To follow along, you can clone the code from my GitHub.
One of the most popular Node.js web frameworks is Express.js. It enables you to rapidly and easily create APIs and other web applications. However, constructing a server is only half the battle; the other half is keeping it running. You should read the logs to have a solid grasp of what's going on with your application.