
Security News
n8n Tops 2025 JavaScript Rising Stars as Workflow Platforms Gain Momentum
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.
@hyrious/fuzzy-match
Advanced tools
A string match function that help implementing fuzzy search like Sublime Text.
The algorithm is derived from this C implementation of fts_fuzzy_match.
npm add @hyrious/fuzzy-match
import { match, match_trace } from "@hyrious/fuzzy-match";
match("th", "tth-hash");
// => 45 (score, maybe negative)
match("not found", "string");
// => -Infinity
// Match with backtrack, useful when we want to highlight the matching chars.
match_trace("th", "tth-hash");
// => { score: 45, stops: [0, 4] }
match_trace("not found", "string");
// => null
import { match } from "@hyrious/fuzzy-match";
function search(text, list) {
return list
.map((item) => ({
item,
score: match(text, item),
}))
.filter(({ score }) => score > -Infinity)
.sort((a, b) => b.score - a.score);
}
MIT @ hyrious
FAQs
Match string like Sublime Text
We found that @hyrious/fuzzy-match 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
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.