0.2.0 • Published 1 year ago

@odit/license-exporter v0.2.0

Weekly downloads
144
License
MIT
Repository
-
Last release
1 year ago

ODIT.Services - License Exporter

npm NPM npm Build Status Node.js Package

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(even prettyfied) and markdown. We use this in our open source projects to credit the awesome work of other open source contributors.

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

Options

ArgDescriptionTypeDefault
-j, --jsonExports the license information into ./licenses.json as json.flag/booleanN/A
-p, --prettyPrettify the json output.flag/booleanN/A
-m, --markdownExports the license information into ./licenses.md as markdown.flag/booleanN/A
-r, --recursiveInclude all of the dependencies' subdependencies.flag/booleanN/A
-d, --depthThe depth for recursive subdependency resolution (1 = dependencies and subsependencies). Has to be used with --recursivenumberInfinity
-o, --outputOutput folder for the exports.stringCurrent folder
-i, --inputPath to the input folder containing your package.json and node_modulesstringCurrent folder
-h, --helpShow helpflag/booleanN/A
-v, --versionShow version numberflag/booleanN/A
0.1.0

1 year ago

0.2.0

1 year ago

0.0.12

2 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago