Glossary

Chapter 1

abstract interface

A programmatic description of an API that doesn’t include an implementation. In Node.js, a good example is the Streams API.

arrow function

A function written in a shorthand syntax. Instead of writing function () {}, write () => {} when passing functions as arguments to other functions. If the function accepts only one argument, the parentheses can be omitted.

asynchronous

Describes code that doesn’t necessarily run in the order in which it appears. In Node.js, this term is used to distinguish APIs that accept callbacks that will be run at a point in the future. For example, fs.readFile accepts a callback that receives the file’s contents after it has been read.

core modules

The libraries that are built ...

Get Node.js in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.