Author Archives

Node.js – Global Objects

Node.js global objects are global in nature and they are available in all modules. We do not need to...

Node.js – Global Objects

Node.js global objects are global in nature and they are available in all modules. We do not need to...

Node.js – Event Emitter

Many objects in a Node emit events, for example, a net.Server emits an event each time a peer connects...

Node.js – Event Emitter

Many objects in a Node emit events, for example, a net.Server emits an event each time a peer connects...

Node.js – Buffers

Pure JavaScript is Unicode friendly, but it is not so for binary data. While dealing with TCP streams or...

Node.js – Buffers

Pure JavaScript is Unicode friendly, but it is not so for binary data. While dealing with TCP streams or...

Node.js – NPM

Node Package Manager (NPM) provides two main functionalities − Online repositories for node.js packages/modules which are searchable on search.nodejs.org...

Node.js – NPM

Node Package Manager (NPM) provides two main functionalities − Online repositories for node.js packages/modules which are searchable on search.nodejs.org...

Node.js – Event Loop

Node.js is a single-threaded application, but it can support concurrency via the concept of event and callbacks. Every API...

Node.js – Event Loop

Node.js is a single-threaded application, but it can support concurrency via the concept of event and callbacks. Every API...

Node.js – Callbacks Concept

What is Callback? Callback is an asynchronous equivalent for a function. A callback function is called at the completion...

Node.js – Callbacks Concept

What is Callback? Callback is an asynchronous equivalent for a function. A callback function is called at the completion...

Node.js – REPL Terminal

REPL stands for Read Eval Print Loop and it represents a computer environment like a Windows console or Unix/Linux...

Node.js – REPL Terminal

REPL stands for Read Eval Print Loop and it represents a computer environment like a Windows console or Unix/Linux...

Node.js – First Application

Before creating an actual "Hello, World!" application using Node.js, let us see the components of a Node.js application. A...

Node.js – First Application

Before creating an actual "Hello, World!" application using Node.js, let us see the components of a Node.js application. A...

Node.js – Environment Setup

/* Hello World! program in Node.js */ console.log("Hello World!"); For most of the examples given in this tutorial, you...

Node.js – Environment Setup

/* Hello World! program in Node.js */ console.log("Hello World!"); For most of the examples given in this tutorial, you...

Node.js – Introduction

What is Node.js? Node.js is a server-side platform built on Google Chrome's JavaScript Engine (V8 Engine). Node.js was developed...

Node.js – Introduction

What is Node.js? Node.js is a server-side platform built on Google Chrome's JavaScript Engine (V8 Engine). Node.js was developed...