Node.js Weekly Update - December 8

Below you can find RisingStack's collection of the most important Node.js updates, projects & tutorials from this week:

Node v8.9.2 (LTS) released

Notable Changes

  • console:
    • avoid adding infinite error listeners (Matteo Collina)
  • http2:
    • improve errors thrown in header validation (Joyee Cheung)

Node v6.12.1 (LTS) released

Notable changes

  • build:
    • fix npm install with --shared (Ben Noordhuis)
  • build:
    • building with python 3 is now supported (Emily Marigold Klassen)
  • src:
    • v8 options can be specified with either '_' or '-' in NODE_OPTIONS (Sam Roberts)

Node.js meets OpenCV’s Deep Neural Networks — Fun with Tensorflow and Caffe

Unleash the awesomeness of neural nets to recognize and classify objects in images!

Take a look at OpenCV’s Deep Neural Networks module and learn how to load pretrained models from Tensorflow and Caffe with OpenCV’s DNN module.

Screen-Shot-2017-12-08-at-12.03.06-PM

Health Checks and Graceful Shutdown for Node.js Applications

What happens to your users who used your product at the time of the deployment? Chances are, the requests they have in progress are going to fail.

What to do in these situations? Implement terminus to perform health checks and graceful shutdown to your applications. Learn how to do this step-by-step in this article.

Patterns for designing flexible architecture in node.js (CQRS/ES/Onion)

This blog post reveals patterns for designing flexible architecture in Node.js.

The project uses CQRS and Event Sourcing patterns, and it’s organized using onion architecture and written with TypeScript.

Speed up Your Node.js App with Native Addons

How fast is JavaScript compared to C++? In this article you'll see an example that computes prime numbers in Node with JavaScript and with a native C++ addon.
1_xi9exVfLunfqUKZ20C71kQ

Why End-to-End Testing is Important for Your Team

End-to-end testing is where you test your whole application performance from start to finish.

It is one of the ways to keep a developer team moving forward without breaking everything. Read this post to see how they implemented it at Hubba.

Wrangling GeoJSON with Turf.js

Turf makes Node.js a natural choice for working with GeoJSON. Check out Turf if you find yourself dealing with geospatial data, it will enable you to do some incredible things.

Tutorial to Native Node.js Modules with C++. Part 3 — Asynchronous Bindings and Multithreading

JavaScript in the browser runs in a single-threaded environment and in case you want to load off some work to a separate thread, you have to mess around with web workers.

You can easily make use of multiple threads to perform computationally heavy tasks in parallel, and you can learn how to do so in this tutorial.

1_KMFrX776LOznXpsJSfQXVw-1

The secret to being a top developer is building things! Here’s a list of fun apps to build!

Here are 8 fantastic projects to train your coding muscles! The goal is to build each app with whatever technology stack you prefer. Keep it conflict-free, use whatever you want!

1_CFM9_VhPRrGG755enCmClw-1

Previously in the Node.js Weekly Update

In the previous Node.js Weekly Update we collected the latest news on Node.js such as the latest v8.9.1 (LTS) release, how to perform a NodeJS blockchain implementation, how to build a simple static page generaton with Node.js, or how to write fast and safe native Node.js modules with Rust. Click if you missed it!

We help you to stay up-to-date with Node.js on a daily basis too. Check out our Node.js news page and its Twitter feed!