Back to Explore
A small JavaScript utility that checks whether a given value is a regular expression. Useful for input validation and type checks when you need to distinguish strings from RegExp instances.
Project status
- The repo appears quiet and effectively in maintenance mode, with the last upstream update on 2021-10-31, far before today (2026-06-09).
- Update cadence is infrequent historically, with major changes in 2019 and 2021, and no updates after late 2021.
AI summary generated
AI-generated from public sources. May be inaccurate. Report
Recent updates
v3.1.0
Release v3.1.0 is described as a tiny performance improvement. The code change primarily optimizes how the RegExp tag is checked, with no apparent API changes.
v3.0.0
v3.0.0 raises the minimum supported Node.js version and converts the package to ESM-only. The runtime implementation is essentially the same logic, but module entry and TypeScript typings changed accordingly.
Breakingv2.1.0
Release v2.1.0 adds TypeScript type definitions to the package. No other functionality changes or fixes are mentioned in the release notes.
Features