Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
generator-boilerplate-generator
Advanced tools
Generate a Yeoman generator based off a boilerplate repository
Generate a Yeoman generator based off a boilerplate repository
Maintainer: Ari Porad
npm install -g generator-boilerplate-generator
yo boilerplate-generator
The principal behind this is that when making a complex generator that generates a whole application, it's preferable to have the boilerplate in a sepeate repository, and have the generator download it whenever it's needed.
So, run this generator with yo boilerplate-generator
, give it your GitHub username and the boilerplate repo, and it
will generate a generator which when run will download the repo, and customize it.
By default, then generator will replace every instance of {{# name #}}
with the name of that the user has chosen for
their generated app, it will also replace {{# slug #}}
with the slug of the name that the user has chosen for their
generated app. The package.json will also be updated (new name, URLs, author, v1.0.0).
Of course, you can edit also the generated generator, to add more options or do whatever.
PR's are welcome, please make sure you update the tests, and make sure it passes JSHint.
FAQs
Generate a Yeoman generator based off a boilerplate repository
The npm package generator-boilerplate-generator receives a total of 9 weekly downloads. As such, generator-boilerplate-generator popularity was classified as not popular.
We found that generator-boilerplate-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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.