sql-match

JSON →
library 2.0.0 ·javascript
verified Jun 5, 2026

A spec-compliant implementation of SQL LIKE pattern matching for Node.js (version 2.0.0). It supports % and _ wildcards with backslash escaping, matching JavaScript strings against SQL-like patterns. No external dependencies. Released as an ESM-only module since v2.0.0. Differentiators: lightweight, no dependencies, simple API with two functions (isSQLMatch, sqlToRegex) for direct comparison or reusable regex creation. Not actively maintained, but API stable.