Node.js Certifications and Trainings up to 65% off

By Blog, Certification and Training, Node.js

Now is a great time to invest in yourself, or in your engineering team. Starting November 30 through December 8, the OpenJS Foundation, in partnership with the Linux Foundation, will be discounting all Node.js Certifications and Trainings. The OpenJS Certification and Training program serves to help developers in their professional development goals. 

Full sale details

Discounts include 

What’s included with certifications?

  • 12 month exam eligibility    
  • Free exam retake
  • Digital badge and PDF certificate upon passing

What’s included in online trainings?

  • Hands-on labs & assignments
  • Video content
  • 12 months of access to online courses
  • Discussion forums
  • Digital badge and PDF certificate upon completion


Certifications are excellent ways to validate your own development skills to yourself, employers, and the world. 

OpenJS Node.js Application Developer (JSNAD)
The OpenJS Node.js Application Developer certification is ideal for the Node.js developer with at least two years of experience working with Node.js. For more information and how to enroll:

OpenJS Node.js Services Developer (JSNSD)
The OpenJS Node.js Services Developer certification is for the Node.js developer with at least two years of experience creating RESTful servers and services with Node.js. For more information and how to enroll:

Training Offerings

Feel confident in taking your exams with the Node.js Training courses. These courses help prepare developers for the Node.js certification exams. 

Node.js Application Development (LFW211)
This course provides core skills for effectively harnessing a broad range of Node.js capabilities at depth, equipping you with rigorous skills and knowledge to build any kind of Node.js application or library. While by design the training content covers everything but HTTP and web frameworks, the crucial fundamentals presented prepares the student to work with web applications along with all types of Node.js applications.

Node.js Services Development (LFW212)
This course provides a deep dive into Node core HTTP clients and servers, web servers, RESTful services and web security essentials. With a major focus on Node.js services and security, this content is an essential counterpart to the Node.js Application Development (LFW211) course, and will prepare you for the OpenJS Node.js Services Developer (JSNSD) exam.

If you’d like to pursue Node.js Certifications and Trainings and this sounds like something you’d like to know more about, check out more information at this link.

This post originally appeared on the Node.js Project Medium Page. Node.js in an Impact Project of the OpenJS Foundation.

Building Modern Native Add-ons for Node.js in 2020

By Blog, Node.js

This post was contributed by Chengzhong Wu (@legendecas), Gabriel Schulhof (@gabrielschulhof) Jim Schlight (@jimschlight), Kevin Eady Michael Dawson (@mhdawson1), Nicola Del Gobbo (@NickNaso). It originally appeared on the Node.js Project Medium Page. Node.js in an Impact Project of the OpenJS Foundation.


N-API provides an ABI-stable API that can be used to develop native add-ons for Node.js, simplifying the task of building and supporting such add-ons across Node.js versions.

Image for post

With downloads of node-addon-api surpassing 2.5 million per week, all LTS versions of Node.js supporting N-API version 3 or higher and node.js 15.x being released with support for N-API 7, it is a good time to take a look at the progress on simplifying native add-on development for Node.js.

When we started working on N-API back in 2016 (the original proposal is 12 Dec 2016) we knew it was going to be a long journey. There are many native packages in the ecosystem and we understood the transition would take quite some time.

The good news is that we have come a long way since the initial proposal. There has been a lot of work by the Node.js collaborators and the team focussed on N-API as well as package authors who have moved over. In that time, N-API has become the default recommendation for how to build native add-ons.

While the basic design has remained consistent (as planned), we’ve added incremental features in each new N-API version in order to address feedback from package authors as they adopted N-API and node-addon-api.

It’s also been great to see the positive feedback from package authors along the way. For example

Image for post

Having said that, let’s dive into some of the new features/functions that have been added over the last few years.

New features/functions

As people have been using N-API and node-addon-api we’ve been adding the key features that have been needed, including generally improving the add-on experience.

Image for post

The changes fall into 3 main categories which are covered in the sections which follow.

Multi-Threaded and Asynchronous Programming

As Node.js becomes more prominent in the computing world, the need to interact with native OS-level asynchronous activities has grown. Node.js is a single-threaded implementation of the JavaScript language, where only the main thread may interact with JavaScript values.

Performing computationally-intensive tasks on the main thread will block program execution, queuing events and callbacks in the event loop. As we gained experience with real-world use, in order to facilitate program integrity across multiple threads, both N-API and its wrapper node-addon-api were updated to provide several mechanisms to call into the Node.js thread from outside the main event loop, depending on use-case:

  • AsyncWorker: provides a mechanism to perform a one-shot action, and notify Node.js of its eventual completion or failure.
  • AsyncProgressWorker: similar to the above, adding the ability to provide progress updates for the asynchronous action.
  • Thread-safe functions: provides a mechanism to call into Node.js at any time from any number of threads.


Another recent Node.js development is the arrival of workers. These are full-fledged Node.js environments running in threads parallel to the Node.js main thread. This means that native add-ons can now be loaded and unloaded multiple times as the main process creates and destroys worker threads.

Since threads share the same memory space as the main process, multiple copies of a native add-on must now be able to co-exist in a single process. On the other hand, the library containing a native add-on is only loaded once per process. Thus, global data stored by a native add-on, which was so far stored in global variables, must no longer be stored in such a way, because global storage is not thread-safe.

Static data members of C++ classes are also stored in a thread-unsafe manner, so those must also be avoided. It’s also important to remember that the thread is not necessarily that which makes an add-on instance unique. Thus, thread-local storage of global variables should also be avoided.

In N-API version 6 we started providing a space for storing per-instance global data by introducing the concept of add-on instances, multiple of which can co-exist in a process, and by providing some tools for creating self-contained add-ons, such as

  • the NAPI_MODULE_INIT()macro, which will initialize an add-on in such a way that it can then be loaded multiple times during the life cycle of the Node.js process.
  • napi_get_instance_data() and napi_set_instance_data() in order to provide a place for safely storing global data associated with a single instance of an add-on.
  • The node-addon-api Addon<T> class, which neatly combines the above tools to create a class whose instances represent instances of an add-on present in the various worker threads created by Node.js. Thus, add-on maintainers can store per-add-on-instance data as variables in an instance of the Addon<T> class and Node.js will create an instance of the Addon<T> class whenever it is needed on a new thread:
Image for post

Additional helper methods

As package maintainers used N-API we discovered a few additional APIs that were commonly needed. These included:

  • Date objects
  • BigInts
  • Retrieving property names from objects
  • Detaching ArrayBuffers


One of the other main areas where the N-API team worked to fill in gaps and make it easier for maintainers to consume N-API was the build workflow, including additions to CMake.jsnode-pre-gyp and prebuild.

Historically, Node.js native addons have been built using node-gyp. For source code libraries that are already being built using CMake, the CMake.js build tool is an attractive alternative for building Node.js native add-ons. We have recently added an example of an add-on built using CMake.

Detailed information about using CMake.js with N-API add-ons can be found on the N-API Resource.

One of the realities of developing Node.js native add-ons is the fact that as part of installing the package using npm install the C or C++ code must be compiled and linked. This compilation step requires that a viable C/C++ toolchain be installed on the system doing the compilation. This can present a barrier to the adoption of native add-ons as the user of the add-on may not have the necessary tools installed. This can be addressed by creating prebuilt binaries that can be downloaded by the user of the native add-on.

A number of build tools can be used to create prebuilt binaries. node-pre-gyp builds binaries that are typically uploaded to AWS S3. prebuild is similar to node-pre-gyp but uploads the binaries to a GitHub release.

prebuildify is another option similar to the above that enables the native add-on developer to bundle the prebuilt binaries into the module uploaded to npm. The advantage of this approach is that the binaries are immediately available to the user when the package is downloaded. Although the downloaded npm package is larger in size, in practice the entire download process is faster for the user because secondary download requests to AWS S3 or a GitHub release are unnecessary.

Resources for getting started

One resource available to help get started is the node-addon-examples GitHub repository, containing samples of various Node.js native add-ons. The root of the repository contains folders for different functional aspects, from a simple Hello World add-on to a more complex multi-threaded add-on. Each example folder contains up to three subfolders: one for each Node.js add-on implementation (legacy NAN, N-API, and node-addon-api). To get started with the Hello World example using the node-addon-api implementation, simply run:

git clone node-addon-examples/1_hello_world/node-addon-api/npm inode .

Another resource available is the The N-API Resource. This website contains information and additional in-depth walkthroughs regarding building Node.js add-ons and other advanced topics, such as:

  • tools needed to get started
  • migration guide from NAN
  • differences between build systems (node-gyp, cmake, …)
  • context-sensitivity and thread-safety

Closing out and call to action

Since the earliest days Node.js supported the ability to add features written in native code (C / C++) and to expose them through a JavaScript interface. Over time we recognized that there were challenges in implementing, maintaining, and distributing the resulting addons. N-API was identified as one of the core areas for improvements requested by module owners in order to address those challenges. The whole team and the community began to contribute to the creation of this new API in the core.

The resulting C API is now a part of every Node.js distribution and a C++ convenience wrapper called node-addon-api is distributed as an external package through npm. N-API was launched with the promise to guarantee the API and the ABI compatibility across different major versions of Node.js and this has introduced a series of benefits:

  • It has removed the need to recompile modules when migrating to newer major versions of Node.js
  • It allows JavaScript engines other than V8 to implement N-API which, in turn, allows add-on maintainers to target different runtimes (such as Babylon Native or IoT.js, and Electron) with the same code they use for supporting Node.js.
  • Since N-API is a C API it is possible to implement native add-ons using languages other than C / C++ (such as Go or Rust).

When N-API has been released as an experimental API in Node.js v8.0.0 its adoption started to grow slowly, but many developers started to send feedback and contributions and this led us to add new features and to create new tools to better support all the native add-ons ecosystem.

Today N-API is widely used for the development of native add-ons. Some of the most used native add-ons have been ported to N-API:

In the last few years many improvements happened for N-API and for native add-ons in general that bring the users’ and maintainers’ experience with native add-ons almost up to par with JavaScript modules.

Get Involved

We are constantly making progress on N-API and in general on the native add-ons ecosystem, but we always need more help. You could help us and the whole community to continue improving N-API in many ways:

  • Porting your own native module to use N-API
  • Porting a native module that your app depends on to N-API
  • Adding new features to N-API
  • Adding new features from N-API to node-addon-api
  • Fixing or adding test cases for node-addon-api
  • Fixing or adding examples to node-addon-examples

If you are interested in joining us, see details in on how to join our weekly meeting.

Dojo AMA – The Dojo Framework From Then to Now

By AMA, Blog, Dojo

The Dojo Project joined the OpenJS Foundation for an AMA on YouTube on November 9th, 2020. The AMA aimed to share insight into the Dojo Project from inception to beyond the current application. Dojo co-creator Dylan Schiemann moderated the AMA with Anthony Gubler, co-maintainer and architect of current Dojo. In this AMA, users were able to ask questions via Twitter and live YouTube chat. 

Questions ranged from how Dojo has been iterated on over the years to what similarities and differences Dojo has with various other frameworks. Discussion outside of Q&A focused mostly on the ways Dojo has changed over the years.

The full AMA is available here: OpenJS Foundation AMA – Dojo

If you’d like to check out specific topics from the AMA jump down to the timestamps.


0:00 Brief Introduction

0:50 Moderator Introduction

1:30 Where Dojo Is Today

2:40 Why the Name “Dojo”?

5:15 What do People need from a Framework Today?

6:40 Modern Dojo

9:15 Dojo 8 Enhancements and Modern Dojo Changes 

12:05 Modern Dojo New User Questions?  

15:42 Are Custom Elements the Future?

20:15 Dojo Improvements to Application Loading Time?

23:35 Dojo Styling

26:58 Building Dojo

30:18 Getting Dojo Theming Right

31:58 Largest App Built With Dojo?

37:02 MobX vs Dojo

40:37 Overlap between Overlap and Dojo

44:05 Dojo Naming Design

49:50 What Can Be Done To Support Syntax Beyond JSX?

51:50 If You’re Writing an App in React or Angular, What Should You Do To Port Your Project to Dojo? 

55:25 What’s Possible for Dojo?

58:05 Wrap-Up

Electron ships v11

By Blog, Electron

This post was written by Keeley Hammond.

The Electron team is excited to announce the release of Electron 11.0.0! You can install Electron v11 with npm via `npm install electron@latest` or download it from our releases website. The release is packed with upgrades, fixes, and features.

What’s New?

Some highlights from the Electron 11.0.0 release include:

  • Support for Apple M1: On November 10, Apple announced their new M1 chips, which will be included in their upcoming hardware. Beginning in Electron 11, Electron will be shipping separate versions of Electron for Intel Macs (x64) and Apple’s upcoming M1 hardware (arm64). You can learn more about how to get your Electron app running on Apple’s M1 hardware here.
  • Improved the performance of sending wide objects over the context bridge.
  • Added V8 crash message and location information to crashReport parameters.

To read more about Electron 11.0.0, please read the blog here written by the Electron team.

Electron Release Schedule

Although we are careful not to make promises about release dates, our plan is to release new major versions of Electron with new versions of those components approximately quarterly. The tentative 12.0.0 schedule maps out key dates in the Electron 12.0 development life cycle. See our versioning document for more detailed information about versioning in Electron.

You can find more info on previous Electron Releases here: 

For information on planned breaking changes in upcoming versions of Electron, see our Planned Breaking Changes doc.

Introducing the OpenJS Collaboration Network

By Blog

This post was written by Michael Dawson, Node.js lead for Red Hat and IBM at Red Hat, OpenJS Foundation Board member, and Cross Project Council member.

Across more than 30 OpenJS Foundation community projects and the JavaScript community at large, there are many shared obstacles that we face as well as opportunities to learn from each other. Having a common place where a variety of projects and community members can convene to try and solve these problems, or share best practices, seemed like a great way to strengthen our community. This is why we are creating the OpenJS Collaboration Network through our Cross Project Council. 

The OpenJS Collaboration Network can further the value of the foundation in a few key ways, while also giving value back to the community. 

The OpenJS Collaboration Network provides the framework for people to collaborate on areas of importance to the JavaScript ecosystem in a neutral space. In some cases, technical scenarios may align with projects and in other cases be independent of the member projects. Regardless of the alignment with existing member projects, the OpenJS Foundation Collaboration Network provides support for collaboration in a particular area. 

Support includes but not be limited to:

  • a GitHub repo in the OpenJS org
  • marketing support
  • mailing lists
  • Slack channels
  • representation on the CPC
  • The current Collaboration Networks spaces are listed in the main in the CPC repository.

How to propose a Collaboration Space

If you have a topic that you feel would benefit from wide community collaboration, you can get started by filling out the [Collaboration Space Application Template]( and emailing it to  

What is the process of getting approved?

Once the application is submitted the CPC will review the application. Some of the key elements of the review are captured in the [Initial fit checklist](  It’s helpful if you include the answers to those questions along with the application.

Once approved, what are the next steps to getting started?

Once approved the CPC and Foundation staff will help the champions set up a new repository, get access to the meeting tools like Zoom, create Slack channels, and get things kicked off.

For more details on the overall process the full process is documented in:

We look forward to working with champions to foster important JavaScript discussions and work within the Collaboration Network. If you had a topic or important discussion you’ve felt the JavaScript community should be having and want to help move that forward but didn’t know where to start, the Collaboration Network is here to help.

Node.js Certifications update: Node.js 10 to Node.js 14

By Blog, Certification, Node.js, Project Updates, Training

The OpenJS Node.js Application Developer (JSNAD) and the OpenJS Node.js Services Developer (JSNSD) Exams (Node.js Certifications) will be updated from Node.js version 10, which is now in maintenance, to Node.js version 14, which is the most current LTS (Long Term Support) line. Changes will come into effect November 3, 2020. All tests taking place after 8:00 pm PT on June 16, 2020 will be based on Node.js version 14.

 The updated exam will include the ability to use either native EcmaScript modules or CommonJS modules to answer questions, with CommonJS remaining the default and EcmaScript modules as an opt-in.

For example a given task on the examination may provide a folder containing an answer.js file and a package.json file. The package.json file does not contain a type field, as is the case when generating a package.json file with npm init. By default, the answer.js file is therefore considered a CommonJS module. So loading a module would be achieved like so:

const fs = require('fs')

To opt-in to native EcmaScript modules, candidates may either set the type field of the package.json file to module or may rename the answer.js file to answer.mjs. In either of those cases a module would be loaded like so:

import fs from 'fs'

Candidates may also explicitly opt-in to CommonJS by setting the type field to commonjs or by renaming the answer.js to answer.cjs but this is unnecessary as the absence of a type field means the answer.js file is interpreted as CommonJS anyway.

This opt-in approach for EcmaScript modules is in keeping with Node’s module determination algorithm, see Industry standards and best practices will be tracked over the next year and EcmaScript modules may become the default in future updates.

The JSNSD exam has also been updated to become more web-framework friendly, the npm start field is now the essential entry-point for determining how a web server is started. This allows for frameworks with their own initialization CLIs to be used more easily than before, for example see

While there are no changes to the current set of Domains and Competencies for the JSNSAD and JSNAD Exams, candidates are advised to review functionality of libraries or frameworks on Node.js version 14. For a full list of differences between Node.js version 10 and Node.js version 14 see

To help prepare for the Node.js Certification exams, the Linux Foundation offers training courses for both the Applications and Services exams. The training courses were authored by David Clements, a principal architect, public speaker, author of the Node Cookbook, and open source creator specializing in Node.js and browser JavaScript.

These exams are evergreen and soon after a Node.js version becomes the only LTS line the certifications are updated to stay in lockstep with that LTS version. Now that Node.js version 10 has moved into maintenance, certifications will be based on Node.js version 14.

The OpenJS Node.js Certification program was developed in partnership with NearForm and NodeSource. The certifications are a good way to showcase your abilities in the job market and allow companies to find top talent.

OpenJS Foundation AMA: AMP Project TSC

By AMA, AMP, Blog, Project Updates

AMP Project joined the OpenJS Foundation this past summer as a Growth project, aiming to create a more “user-first” open web experience for all. In this AMA, users were able to ask questions via Twitter (#AskAMP) and live YouTube chat. This AMA followed AMP Fest, which can be viewed here. AMP Fest focuses on content where participants could “learn about the latest ways the community is working to make the web better for everyone – publishers, platforms, advertisers, creators, and of course, users.”

Moderated by Naina Raisinghani, the AMA was a way to learn more about the project with David Strauss, Chris Papazian, Dima Voytenko, Malte Ubl, Saulo Santos, Kasiana McLenaghan, and Rudy Galfi.

Questions ranged from what project individuals were most excited about to whether there should be ramifications or praise for net neutrality or the lack thereof. The talk took a mix of inquiries from chat and preset questions. 

The full AMA is available here: OpenJS Foundation AMA – AMP Project


0:00 Brief Introduction

1:09 Introduction

4:42 AMP Fest Recap

6:10 AMP Projects You’re Excited About?

9:50 Can TSC Share What Platforms Support AMP?

11:47 What Is The Most Critical Part of Stories?

15:25 What’s One Use Case For AMP In Email? 

19:20 Does the TSC Have Any Thoughts On NYT Content Application Framework Proposal? 

25:20 What Improvements Does The TSC Want To Make In The New Year?

31:35 Will Websites Need AMP and HTML To Get Picked Up By Publishing Platforms?

40:20 More Approachable Architectural Options For HTML Conversion On High Volume Sites

43:58 Do You See The Project Working On Components Or User-Built Components 

48:44 Should Publishers or Companies Be Encouraged or Penalized For Prioritizing Websites?

50:45 Are There Any Updates On AMP Runtime Giving a PWA For Navigating Amongst AMP Pages. Any Update?

52:00 Any Chance That People Will Be Able to Embed>React>AMP as Opposed to Embed>AMP>React?

56:00 Closing Thoughts

Node.js v15.0.0 is here!

By Announcement, Blog, Node.js, Project Updates

This week, Node.js, an Impact project at the OpenJS Foundation, shipped Node.js v15, a major release for the JavaScript server-side runtime.

The new release includes:

  • Abort Controller
  • N-API Version 7
  • npm 7
  • Throw on unhandled rejections
  • QUIC (experimental)
  • V8 8.6

Additional project news includes

  • Completion of the Node.js Contributors Survey to gather feedback on the contribution process to determine target areas for improvement.
  • big improvements to Node.js automation and tooling including the ability to kick off CI runs and land commits just by adding a GitHub label, making it easier for collaborators to manage the constant flow of Pull Requests.
  • The beginning of Next 10 Years of Node.js effort. The goal of this effort is to reflect on what led to success in the first 10 years of Node.js and set the direction for success in the next 10. One of the outcomes so far is that we’ve created a Technical Values document to guide our efforts.

To read more about Node.js v15, please read the blog here written by Bethany Griggs and the Node.js TSC.

New training gives a deep dive into Node.js Services Development

By Announcement, Blog, Training

Course provides requisite knowledge to develop services on Node.js, and helps prepare for OpenJS Node.js Services Developer Certification

Today, with the Linux Foundation, OpenJS Foundation is excited to offer yet another new training course, LFW212 – Node.js Services Development, as part of our growing Node.js Training and Certification Program

This is an exciting step as Node.js is one of the most popular JavaScript frameworks in the world powering hundreds of thousands of websites, including implementations from Google, IBM, Microsoft and Netflix. Individual developers and enterprises use Node.js to power many of their most important web applications, making it essential to maintain a stable pool of qualified talent.

Who should take this training?

LFW212 will help those developers on their way to a senior level get to the next step by demonstrating their Node.js knowledge and skills, in particular how to use Node with frameworks to rapidly and securely compose servers and services. 

Specifically, this course covers Node core HTTP clients and servers, web servers, RESTful services and web security essentials.

What will I learn?

By taking this course, you will learn how to build RESTful JSON services that are secure and straightforward to maintain and will prepare you for some of the most common Node.js roles in the industry today. The course also prepares you to take the OpenJS Node.js Services Developer (JSNSD) certification. A bundled offering including access to both the training course and certification exam is also available.

To best prepare for this course, students should be familiar with the concepts covered in the OpenJS Node.js Application Developer (JSNAD) certification. To brush up on your Node.js application development skills, we recommend you complete the LFW211 – Node.js Application Development course before attempting LFW212. 

About the Author

The Node.js Services Development course was authored by David Clements, a principal architect, public speaker, author of the Node Cookbook, and open source creator specializing in Node.js and browser JavaScript. David has been writing JavaScript since 1996 and has been working with, speaking and writing about Node.js since Node 0.4 (2011). He’s the author of various open source projects. Of note among them is Pino, one of the fastest Node.js JSON loggers available and 0x a powerful profiling tool for Node.js. David is one of the technical leads and primary authors of the official OpenJS Node.js Application Developer Certification and OpenJS Node.js Services Developer Certification. We recently did an AMA with Dave and Adrian Estrada from NodeSource you can check it out here to learn more about certification. 

Are you ready to sign up? 

The course is available to begin immediately! The $299 course fee – or $499 for a bundled offering of both the course and related certification exam – provides unlimited access to the course for one year to all content and labs. All Node.js courses and exams offered by The Linux Foundation, including these new offerings, are discounted up to 75% through October 31, including a super bundle consisting of LFW211, LFW212, JSNAD and JSNSD available for $250 during the promotional period. Interested individuals may enroll in LFW212 here or learn more about the discount on all Node.js offerings here.

The Electron Project Usage Survey

By Blog, Electron, Survey

Give your feedback on how you are using the Electron

Recently, Electron built a survey to better understand the broad user base and usage of this project. Electron, an Impact project at the OpenJS Foundation, is an open source framework created for building desktop apps using JavaScript, HTML, and CSS, and is based on Node.js and Chromium.

This survey is intended for anyone who builds applications with this technology and will help the team learn more about how folks are using it and what challenges they are facing. The results will help maintainers address these challenges and guide the project’s roadmap. 

“As an open source project, many of the decisions regarding Electron happen within GitHub repositories, however, work done within GitHub repos are only a fraction of our overall user base,” said Antón Molleda. “We are excited to have this survey reach the broad set of Electron users so we can capture requirements, challenges and use this information to create a better Electron for all.”

The survey will close Oct 28th and you can access it here.