Node.js Tutorials
Get Ethereum Value from Command Line
Last year I got big into Bitcoin; today I own a few dozen bitcoin and am loving my return. Recently I've been hearing big things about Ethereum, another cryptocurrency. Ethereum is in its infancy and has hit some troublesome times recently due to a hack but...
Create WebPage Screenshots with Node.js and PhantomJS
Automation on the web has gotten incredibly accessible and advanced, much in part to utilities like PhantomJS. PhatomJS allows you to do headless WebKit render testing, network monitoring, page automation, and much more. One of the simple tasks I like using PhatomJS for is screenshot...
Docco: Quick JavaScript Documentation
Docco is a free Node.js-powered JavaScript documentation generation tool. I was never big into documenting JavaScript methods within the source files themselves, but my team made the decision to go that route for a new project and I've come full swing. Pair the in-source documentation with the...
Nodal: A Tutorial for Easily Creating API Services in Node.js
If you haven't heard about Nodal yet, or you have but you're unsure of where to begin, this tutorial is for you! Make sure you keep up with Nodal on GitHub to follow project updates. Nodal is a Node.js server platform and framework that enables you to develop API...
Getting Started with ES6 (ES2015) and Babel
If you don't do much work with Node.js there's a good chance you haven't explored the new syntax additions to the JavaScript language provided by ES2015. These language additions include arrow functions, classes, block scoping, and more. These language additions have slowly made their way to Chrome...
Extend Native Prototypes in Node.js
As someone who was on the legendary MooTools JavaScript team, I have some affection for extending the prototypes of native objects. Of course the practice of extending prototypes is taboo these days as browser vendors are iterating and implementing new specs more quickly than the IE6 era, but extending natives in Node.js...
301 Redirect with Express
If you've created a site using Node.js, there's a great chance you've used the Express framework. Express has turned into a massive project and for good reason: it's loaded with useful functionality, an easy API, and massive community support. On of my recent projects was...
Run Your Own Scraping API with PhearJS
So-called 'client-side dynamic rendering' gives clients cool experiences, but makes it harder for machines to comprehend. In case you want to do data mining, scrape websites or send static versions of your slick single-page application to Altavista, you essentially need a browser in the loop. This...
Convert Image to ASCII Art with Node.js
There are many people out there that don't appreciate ASCII art; we call those people "idiots". ASCII art has been used forever and remains, in my opinion, a feat of programming and creativity. There's a project called image-to-ascii which doesn't just create ascii art but does so from...
Show Images in Console with Node.js console-png
Introducing colors into the command line makes console reading much easier which is why finding Chalk was a life-changing event for me. I started digging deeper into making the console more graphical and I found another module that could bring the console to life: console-png! The JavaScript Assuming...