1.0.1 • Published 3 years ago
licensify-cli v1.0.1
_ _ _ __
| (_) (_)/ _|
| |_ ___ ___ _ __ ___ _| |_ _ _
| | |/ __/ _ \ '_ \/ __| | _| | | |
| | | (_| __/ | | \__ \ | | | |_| |
|_|_|\___\___|_| |_|___/_|_| \__, |
__/ |
|___/
Crawls a projects package.json and creates a json representation
of all licenses and dependencies
Why I created this package
As i was working on a big project using a lot of open source modules I found myself developing on the project and sitting in front of the "About" page and thinking to myself: "Isn't there a faster way to get these packages listed?". This is why I created licensify.
How to use it
First install the package globally
# Using yarn
yarn global add licensify-js
# Using npm
npm install licensify-js -g
Then just call licensify
in your shell and you'll see the interactive shell leading you through the creation of your licensify.json that contains all properties of the package.
What is returned
Following properties are available on the dependency type
Name | Type | Description |
---|---|---|
name | string | The name of the package |
description | string | The description of the package |
version | string | The version used by package.json |
type | enum "dev" | "core" | Defines the type of dependency (dev/core) |
license | string | null | The text of the packages license file |
repository | string | The url to the repository of the package |