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 repository is not actively maintained as of today, with the last upstream push and latest recorded update on 2021-10-31, which is over 4 years ago (so it appears quiet/dormant).
- The update cadence is very sparse, with updates at 2019-04-16 (v2.1.0), 2021-04-07 (v3.0.0), and 2021-10-31 (v3.1.0), and then no further updates.
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