![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
licenses-html-generator
Advanced tools
Generates html licenses file from list of sources (git repos or local files)
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.
FAQs
Generates html licenses file from list of sources (git repos or local files)
The npm package licenses-html-generator receives a total of 31 weekly downloads. As such, licenses-html-generator popularity was classified as not popular.
We found that licenses-html-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.