Gathering detailed insights and metrics for licenses-html-generator
Gathering detailed insights and metrics for licenses-html-generator
Gathering detailed insights and metrics for licenses-html-generator
Gathering detailed insights and metrics for licenses-html-generator
Node.js script to generate html licenses file from list of sources (git repos or local files)
npm install licenses-html-generator
Typescript
Module System
Node Version
NPM Version
JavaScript (90.6%)
CSS (5.88%)
HTML (3.52%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
10 Commits
4 Forks
1 Watchers
3 Branches
1 Contributors
Updated on Feb 05, 2017
Latest Version
1.1.0
Package Id
licenses-html-generator@1.1.0
Size
4.40 kB
NPM Version
3.6.0
Node Version
5.7.0
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
No dependencies detected.
Generates an html licenses file from a list of license sources, which can be git repos or local files. For git repos, it makes a shallow clone and automatically gets the license from the readme or license file.
Install with npm install -g licenses-html-generator
Create a new directory for the script to do its thing in (this is where it will clone any git repos and where the output html file will be)
Create a file called sources.json
in the new directory that contains a json array of sources:
[
{
"name": "Example 1",
"uri": "https://github.com/example/example-repo.git"
},
{
"name": "Example 2",
"uri": "./local-license-text-file.txt"
}
]
licenses-html-generator /path/to/dir/from/step/2
. The html file will be located at ./out/licenses.html
The output can be customized by adding a folder called templates
to the directory containing sources.json
and adding any of the following files:
head.html
- Contents for the head
tag
styles.css
- CSS that will be inlined. Use .license
to style the licenses. This is added in addition to the default styles. To override the default styles use default-styles.css
header.html
- Html to go at top of page, above all licenses. Will be contained in a header
element.
license-header.html
- Html that comes before each license. Put <!--NAME-->
where you want the name of the license to go.
license.html
- For wrapping the license html. Put <!--LICENSE-->
where you want the license html to go.
footer.html
- Html for the bottom of the page. Will be contained in a footer
element. If you don't want to have "Created with Licenses HTML Generator" at the bottom, create this file.
Released under the MIT License.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no SAST tool detected
Details
Reason
Found 0/10 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
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
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