Node.js, npm, and more

Node.js tips, tricks, and one-liners.

This section covers Node.js, npm, and more.

Node.js lets you run JavaScript on a server or similar context, which in turn lets you use the language to perform administrative and operations tasks.

This section includes a few tips to help get you started.

More info


Collect filenames with Node.js

Recursively generate a list of files located in a directory.

Create custom Node.js modules

Shows how to create and call a custom Node.js module.

Convert XML to JSON

Shows one way to use Node.js to convert XML to JSON