Promise Rejection Handling

Node.js 7.0.0 was released last week. One cool thing that was added, which might also freak some people out, is this: DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code…

Node Core Modules Exploration - Console

In the previous post we took a look at some of the command line options available when starting node. Now we are going to take a look at probably the most used core module, especially for those just getting started in debugging. Thats right, console This is another "Global" module…

Node Core Modules Exploration - Command Line Options

Last time we checked out a little bit of what the cluster module had to offer. What we will be checking out this time, isn't necessarily a module, but it is listed with the other modules, so it's next on the list. I'm of course talking about Command Line Options…

Node Core Modules Exploration - Cluster

Previously on on blog, i went into an overview of the Child Processes module. This time, we talk about about something that is sort of related to child_process.fork, Clusters. In fact, looking at the code for Clusters, child_process.fork is actually required. So what is the cluster…

Checking Dependencies with SZero

One of the things that i feel makes Node(and NPM) so great is the ease in which you can add and use third party modules. As most node.js developers know, to start using an external module, you first install it $ npm install cool-module --save Then we require it…

Node Core Modules Exploration - Child Processes

Previously on blog, i gave a little, and i mean little, overview of what C/C++ Addons are. Now onto Child Processes Child Process This is a pretty cool module. The basic gist of the module, is that it allows you to run commands from inside your node.js programs…