Skip to content

A license scanner that enumerates all a Node.js project's NPM dependencies and displays their licenses and some statistics.

License

Notifications You must be signed in to change notification settings

psmorrow/license-scanner

Repository files navigation

License Scanner

A license scanner that enumerates all NPM dependencies and displays their licenses and statistics.

Build Status Sonarcloud Status Known Vulnerabilities Coverity Scan Build Status

Installation

To install locally within the current project:

npm install https://github.com/psmorrow/license-scanner.git

To install globally within the operating system:

npm install -g https://github.com/psmorrow/license-scanner.git

Usage

To use locally within the current project (call from code):

require("license-scanner").scan([directory], [format])

To use globally within the operating system (execute via command line):

license-scanner [directory] [format]

Optional Parameters

Name Type Description Default
directory String The relative path to scan. ./node_modules
format String The scan results format, either print or json. print

License

MIT

About

A license scanner that enumerates all a Node.js project's NPM dependencies and displays their licenses and some statistics.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published