Node.js Tutorials

  • By
    Prevent Bad Commits with husky

    I've been contributing to the amazing A-Frame project, a library with allows you to create VR experiences using web technologies, and it's been a blast.  The JavaScript code is very concise and uniform, making contribution a joy while keeping the code standards strict.  Why is it so concise?  The A-Frame project...

  • By
    Broken Link Checker

    Broken Link Checker by Steven Vachon is an outstanding Node.js-powered utility for recursively checking for broken links on a website.  Broken links lead to bad user experiences and mistrust -- two things that can cost you money and other types of conversion.  The broken link checker...

  • By
    Create WebPage Screenshots with Node.js and SlimerJS

    Last week I featured PhantomJS, a headless WebKit tool, which allows for taking screenshots, automating events on the page, and so on.  PhantomJS is an excellent tool that does so much but being locked into the WebKit engine doesn't help if you want to test other rendering engines like...

  • By
    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...

  • By
    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...

  • By
    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...

  • By
    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...

  • By
    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...

  • By
    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...

  • By
    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...