credits-generator
v1.0.2
Published
Generates a list of open-source software within a repository, and a separate list for packages with undefined licenses.
Downloads
4
Readme
Overview
Script to generate key details of a repository's dependencies using cyclonedx-node-npm
. This script generates 3 files:
- sbom.txt: Main list of dependencies
- unique-licenses.txt: Unique list of licenses found across all dependencies
- undef-licenses.txt: List of dependencies without a defined license
By default, package.json
files in the node_modules
and bruno
folder are ignored.
Sample Output
======================================================
Name: iterare
Group: undefined
Version: 1.2.1
BOM-Ref: [email protected]
Author: Felix Becker
Licenses: ISC
======================================================
Name: reflect-metadata
Group: undefined
Version: 0.2.2
BOM-Ref: [email protected]
Author: Ron Buckton
Licenses: Apache-2.0
======================================================
Installation
- Go to the repository's root directory.
- Run
npx sbom-generator .
.