Node.js, npm, and more

Node.js tips, tricks, and one-liners.
Node.js lets you run JavaScript on a server or similar context. You can then use the language to perform administrative and operational tasks. Here are a few things that might help.

Notes


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