Node Core Modules Exploration - DNS

Last time we checked out the Debugger Module, this time we check out the DNS module. First question, what is DNS. Well according to a google search i did: Domain Name Servers (DNS) are the Internet's equivalent of a phone book. They maintain a directory of domain names and translate…

Node Core Modules Exploration - Debugger

In the previous post we checked out the console module. Next on the list was Crypto, but that is a little more involved than i want to get today. So this time we will take a look at the Debugger module, which isn't really a "module" module. That is, you…

NPM Prepublish changes

NPM 4 was released not long ago, about 2 weeks, and with it came some changes. Some breaking, some not, but there is an interesting deprecation that happened with regards to the prepublish script. Currenlty, if you had a prepublish entry in your package.json { scripts: { prepublish: "nsp check" } } This…

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…