Gathering detailed insights and metrics for @wbmnky/license-report-generator
Gathering detailed insights and metrics for @wbmnky/license-report-generator
Gathering detailed insights and metrics for @wbmnky/license-report-generator
Gathering detailed insights and metrics for @wbmnky/license-report-generator
Saves all dependency licenses (node_modules) to a file
npm install @wbmnky/license-report-generator
Typescript
Module System
Node Version
NPM Version
TypeScript (85.45%)
JavaScript (14.55%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
7 Stars
115 Commits
4 Forks
1 Watchers
4 Branches
2 Contributors
Updated on Sep 27, 2024
Latest Version
2.3.2
Package Id
@wbmnky/license-report-generator@2.3.2
Unpacked Size
38.17 kB
Size
7.62 kB
File Count
10
NPM Version
10.8.2
Node Version
20.17.0
Published on
Sep 27, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
5
4
finds and stores all dependency licenses
pnpm add @wbmnky/license-report-generator
{
useDevDependencies: boolean, // defaults to 'false'
packagePath: string, // defaults to 'process.cwd()'
packageName: string, // defaults to 'package.json'
depth: number, // defaults to '1'
template: string, // defaults to the contents of assets/template.txt
}
1const licenser = require('@wbmnky/license-report-generator'); 2 3const options = { 4 useDevDependencies: true 5}; 6 7return licenser.reporter.generate(options) 8 .then(rep => rep.write(path.resolve(__dirname, 'output.md'))) 9 .catch((error) => { 10 console.log(error); 11 });
1const licenser = require('@wbmnky/license-report-generator'); 2 3const options = { 4 useDevDependencies: true, 5 depth: 2 6}; 7 8return licenser.reporter.generate(options) 9 .then(rep => console.log(rep.plain())) 10 .catch((error) => { 11 console.log(error); 12 });
1const licenser = require('@wbmnky/license-report-generator'); 2const fs = require('fs'); 3const path = require('path'); 4 5const options = { 6 template: fs.readFileSync(path.resolve(__dirname, 'template-table.txt'), 'utf8') 7}; 8 9return licenser.reporter.generate(options) 10 .then(rep => rep.write(path.resolve(__dirname, 'output.md'))) 11 .catch((error) => { 12 console.log(error); 13 });
1const licenser = require('@wbmnky/license-report-generator'); 2 3return licenser.reporter.generate({}) 4 .then(rep => rep.table()) 5 .then(rep => rep.write(path.resolve(__dirname, 'output.md'))) 6 .catch((error) => { 7 console.log(error); 8 });
1license-report-generator [--table] [--depth Number|Infinity] [--template-dir path/to/templates/] [--template-file template.txt] [--out-dir path/to/output/] [--out-file license-output.md]
--table
(Default: false
) - use the default table template--depth {number}|Infinity
(Default: 1
) - package depth, 0 is current project only--with-dev-dependencies
(Default: false
) - whether to include devDependencies
in the license report or not--out-dir
(Default: process.cwd()
) - the output directory where the license file is written to--out-file
(Default: license-output.md
) - the output filename of the license file--template-dir
(Default: null
) - if you want to use an own template, specify the directory where to find the template--template-file
(Default: null
) - if you want to use an own template, specify the filename of the templateSubsequent changelogs can be found in the Releases section of this repository.
generatedAt
to use in a templatebuild
and publish
)yarn
with pnpm
as the internal package managerbower
support (fallback: legacy version 0.2.0 @ npm)MIT © Sebastian Roming
This is originally based on ux-license-report.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
7 existing vulnerabilities detected
Details
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More