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.
metarunnerjs
Advanced tools
A tool for generating meta-runners for Node CLI Tools
metarunner
allows you to generate a thin CLI tool that can be installed -g
so your consumers don't have to install a bulky library at the global level or be tied to a global dependency for projects, while allowing them to use your command in the command line.
Within your cli project, run:
npm install metarunner --save
To scaffold out your thin command line utility, from within your project simply run:
node ./node_modules/.bin/metarunner
This will prompt you for a few questions and generate your CLI tool after you've answered all the prompts.
metarunnerjs
generates a thin CLI runner that looks for a project's local dependency of the same name of the command being run.
For instance, I create a package called howl
that has a bin
in its package.json
and when I run it, it will output the text "howl".
I would have a project dependency in my project on the howl
package, but I would only be able to access it by adding it as a script to the package.json
of my project.
If I use the metarunnerjs
package, I can create a howl-cli
(this is the recommended naming convention), which, when initialized, will add a bin
entry to check for the dependency in your project and then run that dependencies bin
.
FAQs
A metarunner tool
The npm package metarunnerjs receives a total of 1 weekly downloads. As such, metarunnerjs popularity was classified as not popular.
We found that metarunnerjs 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.