Gathering detailed insights and metrics for @gen/rollup-plugin-generate-html
Gathering detailed insights and metrics for @gen/rollup-plugin-generate-html
Gathering detailed insights and metrics for @gen/rollup-plugin-generate-html
Gathering detailed insights and metrics for @gen/rollup-plugin-generate-html
npm install @gen/rollup-plugin-generate-html
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
3 Stars
10 Commits
1 Forks
1 Branches
1 Contributors
Updated on Apr 16, 2022
Latest Version
0.1.1
Package Id
@gen/rollup-plugin-generate-html@0.1.1
Size
1.76 kB
NPM Version
5.4.2
Node Version
8.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
1
Simple rollup plugin to generate html file. Currently html file will be placed in same directory as the output file. This plugin is inspired from rollup-plugin-fill-html.
1npm install --save-dev @gen/rollup-plugin-generate-html
1import html from '@gen/rollup-plugin-generate-html'; 2 3export default [{ 4 input: 'main.js', 5 output: { 6 file: 'bundle.js', 7 format: 'umd' 8 }, 9 plugins: [ 10 html({ 11 // specify template html (optional) 12 template: './index.html', // Default undefined 13 // output filename (optional) 14 filename: 'some.html', // Default index.html 15 // when specified, js src will use absolute path from publicPath (optional) 16 publicPath: 'dist' // Default undefined 17 }) 18 ] 19}];
For cases when you want to generate html file per output. This should come in handy when you want to generate book example codes and such.
1import glob from 'glob'; 2import html from '@gen/rollup-plugin-generate-html'; 3 4const configs = glob.sync('src/**/index.js').map(input => ({ 5 input, 6 output: [{ file: input.replace(/^src/, 'dist'), format: 'umd' }], 7 plugins: [html()], 8})); 9 10export default configs;
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/10 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
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
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
61 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
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