pyloque/fastscan
quickly text search by ahocorasick algorithm observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2872
- days_rel: n/a
- days_push: 2866
- n_releases_24m: 0
Adoption not part of the score
1148 stars · 120 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
FastScan is a JavaScript library implementing the Aho-Corasick algorithm for fast multi-pattern text search, commonly used for sensitive/bad word filtering. It works in both Node.js and the browser and supports quick, longest-match, and hit-count search modes.
Use cases
- filter sensitive words from user-generated content
- find all occurrences of a list of keywords in a text
- scan long articles for forbidden terms
- count keyword hits in a document
- match multiple patterns simultaneously in JavaScript
When to choose
- you need to match a large dictionary of words against text in linear time
- you want a pure JavaScript solution usable in browser and Node.js
- you need sensitive-word or badword filtering in a Chinese or multilingual text pipeline
When to avoid
- you need regex-based or fuzzy matching rather than exact dictionary matching
- memory footprint is critical, since large word lists consume hundreds of MB
- you need an actively maintained library with recent releases and a clear repository license
Facets
library · maturity maintenance
search-engine parser nlp developer-tools text-editors browser ahocorasick sensitive-word-filtering text-matching content-moderation multi-pattern-search natural-language-processing nodejs javascript
2 sources
- readme: https://github.com/pyloque/fastscan · fetched 2026-08-28 · 63ecb4bf857a
- registry_npm: https://registry.npmjs.org/fastscan · fetched 2026-08-29 · 6324c106ce6b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pyloque/fastscan | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="pyloque/fastscan")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem