Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

license-report

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

license-report

creates a short report about project's dependencies (license, url etc)


Version published
Weekly downloads
33K
increased by6.02%
Maintainers
2
Weekly downloads
 
Created
Source

license report tool

generate license report of a project's dependencies

install

	npm install -g license-report

usage

simple:

	> cd your/project/
	> license-report

by default, license-report outputs all licenses from dependencies and devDependencies. To specify one or the other, use --only

	> license-report --only=dev
	> license-report --only=prod

explicit package.json:

	license-report --package=/path/to/package.json

customize a field's label:

	license-report --report.label.department=division

customize a default value (only applicable for some fields):

	license-report --department.label=division --department.value=ninjaSquad

another registry:

	license-report --registry=https://myregistry.com/

different outputs:

	license-report --output=table
	license-report --output=json
	license-report --output=csv
	license-report --output=csv --delimiter="|"

exclude (TBD):

	license-report --excluse=async --exclude=rc

screenshot

debug

export DEBUG=license-report*

see lib/config.js for more details

use rc for further customization

TODO

  1. complete exclude libraries feature
  2. refactor getPackageJson and getPackageReportData to be usable for both local filesystem and npm

ironSource logo

FAQs

Package last updated on 09 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc