
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
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 7 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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.