In this article, you will learn how you can simplify your callback or Promise based Node.js application with async functions (async/await).

Whether you’ve looked at async/await and promises in javascript before, but haven’t quite mastered them yet, or just need a refresher, this article aims to help you.

A note from the authors:

We re-released our number one article on the blog called “Mastering Async Await in Node.js” which has been read by more than 400.000 developers in the past 3 years.

This staggering 2000 word essay is usually the Nr. 1 result when you Google for Node.js …


In this post, we cover what tools and techniques you have at your disposal when handling Node.js asynchronous operations: async.js, promises, and async functions.

After reading this article, you’ll know how to use the latest async tools at your disposal provided by Node.js!

Node.js at Scale is a collection of articles focusing on the needs of companies with bigger Node.js installations and advanced Node developers. Chapters:

.

Using npm:

* npm Tricks and Best Practices

* SemVer and Module Publishing

* Understanding the Module System, CommonJS and require

.

Node.js Internals Deep Dive:

* The Node.js Event Loop

* Node.js…


In this article, I’m going to show how you can quickly generate a static site with Hugo and Netlify in an easy way.

What are static site generators, and why do you need one?

Simply put, a static site generator takes your content, applies it to a template, and generates an HTML based static site. It’s excellent for blogs and landing pages.

Benefits:

  • Quick deployment
  • Secure (no dynamic content)
  • Fast load times
  • Simple usage
  • Version control

So, what are the popular options in terms of static site generators?

  • Gatsby (React/JS)
  • Hugo (Go)
  • Next.js (React/JS)
  • Jekyll (Ruby)
  • Gridsome (Vue/JS)

These are the most starred projects on GitHub. I’ve read about Hugo previously…


Below you can find a collection of the most important Node.js updates, tutorials & announcements from this week — curated by RisingStack’s Node.js Consultants.

Latest Node.js Updates here: Node v13.3.0 / LTS v12.13.1

The Big News:

Announcing core Node.js support for ECMAScript modules

Node.js 13.2.0 ships support for ECMAScript modules, known for their import and export statements. This support was previously behind the --experimental-module flag, which is no longer required; however the implementation remains experimental and subject to change.

This article discusses

  • how you can enable this feature,
  • import and export syntax,
  • files and the package.json “type” field,
  • package entry points and the package.json “exports” field,
  • and common gotchas.

.

npm publishing guidelines from the Node.js package maintenance team.


Below you can find a collection of the most important Node.js updates, tutorials & announcements from this week — curated by RisingStack’s Node.js fanatics.

Latest Node.js Updates here: Node v13.0.1 / LTS v12.13.0

Apologies, we’ve been busy in the previous weeks and missed a few installments, therefore content in this article is not exclusively from the previous week.

The Big News:

.

ESM in Node has been unflagged!

esm: unflag — experimental-modules

.

Node 13 is out, here’s what it means to you

Learn what’s new in 13 and why you should start thinking about migrating to Node.js 12.

.

Cool new stuff in npm@6.13.0

A feature npm shipped in this version is a new funding property in package.json — in a bid to…


JSConf Budapest is a JSConf family member 2-day non-profit community conference about JavaScript in the beautiful Budapest, Hungary. RisingStack participated in the conf for several years as well as we did this September.

In 2019 we delivered a workshop called “High-Performance Microservices with GraphQL and Apollo” as our contribution to the event.

Now I’m happy to share the news with you that all conference talks are available online!

Top Picks by the Community:

Essential JavaScript debugging tools for the modern detective by Rebecca Hill

Debugging JavaScript can drive developers crazy. It’s not surprising when so many us stick to the trusty console.log — but there are better ways. From tracking down a critical issue in production…


Below you can find a collection of the most important Node.js updates, tutorials & announcements from this week — curated by RisingStack’s Node.js Consultants.

Latest Node.js Updates here: 10.16.3 LTS / 12.12.0 Current

First, let’s start with “official” Node news:

Node v12.12.0 Current Released. Changelog:

  • build: Add — force-context-aware flag to prevent usage of native node addons that aren’t context aware
  • deprecations: Add documentation-only deprecation for process._tickCallback()
  • esm: Using JSON modules is experimental again
  • fs: Introduce opendir() and fs.Dir to iterate through directories
  • process: Add source-map support to stack traces by using --enable-source-maps
  • tls:
  • Honor pauseOnConnect option
  • Add option for private keys for OpenSSL engines

Node.js 13.0.0 (Current)

Did you know that you can already…


Below you can find a collection of the most important Node.js updates, tutorials & announcements from this week — curated by RisingStack’s Node.js Developers.

Latest Node.js Updates here: 10.16.3 LTS / 12.11.1 Current

First, let’s start with “official” Node news:

Node 12.11.1 Current Release

  • build: This release fixes a regression that prevented from building Node.js using the official source tarball
  • deps: Updated small-icu data to support “unit” style in the Intl.NumberFormat API

-

OpenJS Foundation welcomes first Incubating project: Node Version Manager (nvm)

nvm will be the first project to enter the OpenJS Foundation’s incubation process after the merger of the JS Foundation and the Node.js Foundation. nvm is the most common and widely used method to install Node.js, and the…


Below you can find a collection of the most important Node.js updates, tutorials & announcements from this week — curated by RisingStack’s Node.js Developers.

First, let’s start with “official” Node.js news:

Node v12.11.0 (Current) Released

Changelog:

  • crypto: Add oaepLabel option
  • deps: Update V8 to 7.7.299.11
  • events: Add support for EventTarget in once
  • fs: Expose memory file mapping flag UV_FS_O_FILEMAP
  • inspector: New API — Session.connectToMainThread
  • process: Initial SourceMap support via env.NODE_V8_COVERAGE
  • stream: Make _write() optional when _writev() is implemented
  • tls: Add option to override signature algorithms
  • util: Add encodeInto to TextEncoder
  • worker: The worker_thread module is now stable

npm CEO Bryan Bogensberger Resigned after 9 months on the job

An internal message to NPM staff from company co-founder Isaac Schlueter, seen by The…


Below you can find a collection of the most important Node.js updates, tutorials & announcements from this week — curated by RisingStack’s Node.js Developers.

Latest Node.js Updates here: 10.16.3 LTS / 12.10.0 Current

First, let’s start with “official” Node news:

Node + JS Interactive Schedule Announced (December 11–12)

At Node+JS Interactive, attendees, speakers and sponsors will collaborate, network and learn from each other as they share their experiences deploying IoT, serverless, cloud native and progressive web apps, and much more.

from npm: Avoiding the Tragedy of the Commons: Acceptable Use of the Public Registry

While nearly all of the registry’s 11 million users fall well within the limits of acceptable use, there is a small number of outliers — all large commercial enterprises who use the registry for free…

RisingStack

Consulting, training & development services — with a strong focus on JavaScript, Node.js, DevOps, Microservices & Kubernetes | contact: info@risingstack.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store