
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Plugin utilities for normalizing output
A small utility library for hmu plugins... Used for normalizing log output, and shorthand functions for common tasks.
$ npm install hmu-plugin
import plugin from 'hmu-plugin';
const foobar = plugin('foobar');
// require shorthand
const foobar = require('hmu-plugin')('foobar');
plugin(name)Create plugin utilities. (Returns util)
name (String): Name of the plugin.util.title()Log the plugin's title.
util.log(message)Log a message under the plugin's name.
message (String): Message to log.util.warn(message)Log a warning under the plugin's name.
message (String): Message to log.util.error(err)Log an error under the plugin's name.
err (Error): Error to log.util.cQuick reference to chalk.
util.get(opts, [mod])A simple Promise wrapper for Node's http.get.
opts (Object, String): Options to pass to http.get.util.get(`http://.../${someting}`)then(req => {
// ...
});
util.status(url, status)A quick HTTP GET status checking function using util.get.
url (Object, String): Options to pass to util.get.status (Number): Status to compare.util.status(`http://registry.npmjs.org/${name}`, 404)
.then(available => ...);
| Jamen Marzonie |
FAQs
Plugin utilities for normalizing output
We found that hmu-plugin 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.