inspect-js

inspect-js/available-regexp-flags

Which regular expression flags does the current environment support?

JavaScript
6
1
MIT License

The `available-regexp-flags` package inspects the runtime environment to list exactly which regular‑expression modifiers (e.g., `u`, `y`, `s`) are supported, exposing both a flag array and a lookup table of corresponding property names. It is aimed at library authors and JavaScript developers who need reliable feature‑detection to write portable regex code that works across different browsers, Node versions, or legacy environments.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

ljharb's profile
ljharb
44 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet