
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.
Get the spirit of a string, without the whole thing!
A glob/wildcard matching library.
I know there are already a lot of these, but I had a use case that required testing a string against many wildcards and determining which matched most specifically. I couldn't find one that did that, so I just made my own. (If you would like that same functionality, look for the bestMatch function.)
import Spirit from "spirits";
const format = new Spirit("The weather is * today!");
const greeting = "The weather is great today!";
console.log(
format.match(greeting)
? greeting
: "I have no idea what the weather is like because I am just a computer!",
);
FAQs
A glob/wildcard matching library
The npm package spirits receives a total of 3 weekly downloads. As such, spirits popularity was classified as not popular.
We found that spirits demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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.