feathers-mongodb-fuzzy-search

JSON →
library 2.0.1 ·javascript
verified Jun 5, 2026

Feathers.js hook that adds fuzzy search to MongoDB queries via $search, supporting both full-text search (MongoDB $text with stemming) and field-specific regex pattern matching. Version 2.0.1 is current. It applies as a before hook on find, update, patch, and remove. Key differentiators: simple API, automatic escaping for ReDoS prevention, and option to disable escaping for direct $text API access. Requires whitelisting of query operators in the service configuration.