Node.js

Showing 28-36 of 49 results
EngineeringIcon ChevronBack-end

A Node.js Guide to Actually Doing Integration Tests

By Luka Blažecki

Your software isn’t fully tested until you write integration tests for it. While unit tests help ensure that functions are properly written, integration tests help ensure that the system is working properly as a whole. In this article, Toptal Software Engineer Luka Blažecki uses Node.js to explain why integration testing is important for every development platform and how to write clean, composable integration tests.

10 minute readContinue Reading
EngineeringIcon ChevronBack-end

Gulp: A Web Developer's Secret Weapon for Maximizing Site Speed

By Anton Kanevsky

When dealing with web-based projects that run in the production environment, being able to build and deploy changes quickly is a top priority. However, repetitive processes such as building front-end assets, when not automated, can be prone to critical errors. In this article, Toptal Freelance Software Engineer Anton Kanevsky shows us how Gulp can solve various challenges of build automation through simple JavaScript routines.

11 minute readContinue Reading
EngineeringIcon ChevronBack-end

Express, Koa, Meteor, Sails.js: A Node.js Framework Comparison

By Chuoxian Yang

Some platforms have an overwhelming number of options for web frameworks. Node.js, the event-driven server-side JavaScript environment, is one such platform. Whether it's the minimalist Express or the full-blown MVC web framework Sails.js, Node.js seems to have it all. In this article, Toptal Freelance Software Engineer Chuoxian Yang explores four of the most popular Node.js web frameworks and discusses how each framework stands out from the rest of the crowd in Node.js.

10 minute readContinue Reading
EngineeringIcon ChevronBack-end

Using Scala.js With NPM And Browserify

By Michele Sciabarra

Today, writing applications in languages that compile to JavaScript is a very common practice. Scala developers, for example, can use Scala.js and have the same language for both the server and the client. That said, Scala's compiler and standard dependency management tools are too limiting in the modern JavaScript world. In this article, Toptal Freelance Software Engineer Michele Sciabarra shows us how to integrate Scala.js with the plethora of JavaScript modules available on NPM, using tools like Browserify, and explains how to do this without even having to install Node.js.

11 minute readContinue Reading
EngineeringIcon ChevronBack-end

Programming Visually with Node-RED: Wiring Up the Internet of Things with Ease

By Jesus Dario

Node-RED, built on Node.js, is a tool designed for programming visually without having to write any code. It comes equipped with a browser-based flow editor that allows hardware devices and APIs to be connected with each other easily, making it an ideal tool for rapidly developing programs for IoT devices. In this article, Toptal freelance software engineer Jesús Darío Rivera walks us through the process of building a simple program using Node-RED and Netbeast along with a virtual light bulb plugin that mimics the capabilities of a real smart bulb.

13 minute readContinue Reading
EngineeringIcon ChevronBack-end

Gulp Under the Hood: Building a Stream-based Task Automation Tool

By Mikhail Angelov

Streams are a powerful construct in Node.js and in I/O driven programming in general. Gulp, a tool for task automation, leverages streams in elegant ways to allow developers to enhance their build workflow. In this article, Toptal engineer Mikhail Angelov gives us some insight into how Gulp works with streams by showing us step-by-step how to build a Gulp-like build automation tool.

8 minute readContinue Reading
EngineeringIcon ChevronBack-end

Writing Testable Code in JavaScript: A Brief Overview

By Joshua Mock

Writing code that is easily testable takes some effort and planning. However, some patterns exist that can be used to write simple and functional code, making it easier to test them when the time comes. In this article, Toptal engineer Joshua Mock shares some useful tips and patterns for writing testable code in JavaScript that are both simple to understand and simple to implement.

7 minute readContinue Reading
EngineeringIcon ChevronBack-end

NodeOS: The JavaScript Based Operating System

By Danny Morabito

An operating system written in Node.js? Yes, it exists, and it’s called NodeOS. Think for a second about the progress Node.js has made in the short time it’s been around. Now, imagine the same thing happening with an operating system. In this article, Toptal engineer Danny Morabito introduces us to NodeOS, guiding us with a step-by-step tutorial on how to create our first NodeOS application using nothing more than Node.js.

8 minute readContinue Reading
EngineeringIcon ChevronBack-end

Debugging Memory Leaks in Node.js Applications

By Vlad Miller

Memory leaks in long running Node.js applications are like ticking time bombs that, if left unchecked in production environments, can result in devastating outcomes. These bugs are often considered to be hard to find. However, with the right tools and a strategic approach, memory leaks can not only be solved but also avoided in the future. In this article, Toptal engineer Vladyslav Millier gives us insight into what memory leaks are, how some sophisticated debugging tools can be used to find memory leaks, and how to plug them once and for all.

11 minute readContinue Reading

Join the Toptal® community.