node-oss piggy packs off of a native npm function npm list. This function recursively returns all the npm modules in your project. node-oss uses this list and finds all the unique projects as npm's nested nature produces many duplicates. It then scrapes the web to find the license for each npm module. Finally it returns a .CSV listing all the modules alphabetically along with their licenses.

Assuming you wish to document all the OSS used in your node.js project, you may inform node-oss of root OSS project (like node.js itself) by add a file called osslist.json to your root directory. In osslist.json you can enumerate further OSS projects (see below).

There is also a feature to parse front end projects, documentation coming soon.