zont / nlfa

nlaf is a utility for attempting to identify the licenses and author of modules in a node.js project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nlfa

'Build status'

nlfa is a utility for attempting to identify the licenses and author of modules in a nodejs project.

It looks for license information in package.json, readme and license files in the project. Please note, in many cases the utility is looking for standard strings in these files, such as MIT, BSD, Apache, GPL etc - this is not error free, so if you have any concerns at all about the accuracy of the results, you will need to perform a detailed manual review of the project and its dependencies, reading all terms of any included or referenced license.

Install

npm i -D nlfa

Use

nlfa [options] <target>

options:
  - `-p`, `--production` (Default: false) - exclude devDependencies
  - `-j`, `--json` (Default: false) - output in JSON

<target> is `licenses.csv` or `licenses.json` by default

Example:

nlfa -p licenses-with-authors.csv

About

nlaf is a utility for attempting to identify the licenses and author of modules in a node.js project.

License:MIT License


Languages

Language:JavaScript 100.0%