This repository has been archived on 2021-03-09. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Philipp Dormann 923a496ee7
continuous-integration/drone/push Build is passing Details
0.0.5 w/ cli fixes
2020-12-31 17:53:13 +01:00
bin 0.0.5 w/ cli fixes 2020-12-31 17:53:13 +01:00
.drone.yml Added Release pipeline 2020-12-31 16:29:16 +01:00
.gitignore Initial commit 2020-12-31 13:34:06 +00:00
.npmignore Added npmignore 2020-12-31 16:30:33 +01:00
LICENSE Added license copyright information 2020-12-31 14:42:14 +01:00
README.md 0.0.5 w/ cli fixes 2020-12-31 17:53:13 +01:00
exporter.js 0.0.5 w/ cli fixes 2020-12-31 17:53:13 +01:00
package.json 0.0.5 w/ cli fixes 2020-12-31 17:53:13 +01:00

README.md

ODIT.Services - License Exporter

Build Status

A simple license exporter that crawls your package.json and provides you with information about your dependencies' licenses. You can export this information into json and markdown.

Install

Via yarn/npm:

yarn add @odit/license-exporter
# Or
npm i @odit/license-exporter

CLI Usage

Export only your dependencies to json: licenseexporter --json Export all dependencies to json: licenseexporter --json --recursive

Export only your dependencies to markdown: licenseexporter --md Export all dependencies to markdown: licenseexporter --md --recursive

Arguments

Arg Description
--help View the help dialog
--recursive Include all dependencies' subdependencies
--json Exports the license information into ./licenses.json as json
--md Exports the license information into ./licenses.md as markdow