</>PackageGraphPackageGraph

is-regex

npmv1.2.1TypeScript

Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag

87.6M
Weekly downloads
1
Dependents
22
Dependencies
98/100
Popularity

Overview

is-regex is an npm package that is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag. It is extremely widely used, with about 87.6M downloads per week and 1 known dependents in the graph. The latest version is 1.2.1, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (87.6M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • Large dependency tree (22 direct dependencies) increases install size and audit surface.

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of is-regex.

Dependencies

Dev (18)

@arethetypeswrong/cli ^0.17.1@ljharb/eslint-config ^21.1.1@ljharb/tsconfig ^0.2.2@types/core-js ^2.5.8@types/for-each ^0.3.3@types/tape ^5.6.5auto-changelog ^2.5.0core-js ^3.39.0eclint ^2.8.1encoding ^0.1.13eslint =8.8.0for-each ^0.3.3in-publish ^2.0.1npmignore ^0.3.1nyc ^10.3.2safe-publish-latest ^2.0.0tape ^5.9.0typescript ^5.8.0-dev.20241129

Used by

Popular packages that depend on is-regex.

Alternatives to is-regex

Frequently installed together

Version history

VersionPublishedLicense
1.2.1latest1 year agoMIT
1.2.01 year agoMIT
1.1.45 years agoMIT
1.1.35 years agoMIT
1.1.25 years agoMIT
1.1.16 years agoMIT
1.1.06 years agoMIT
1.0.56 years agoMIT
1.0.49 years agoMIT
1.0.311 years agoMIT
1.0.211 years agoMIT
1.0.111 years agoMIT
1.0.012 years agoMIT
0.0.012 years agoMIT

Maintainers

Keywords

Funding

Frequently asked questions

How do I install is-regex?

Run `npm install is-regex` to add is-regex to your npm project.

What license is is-regex released under?

is-regex is distributed under the MIT license.

How popular is is-regex?

is-regex has approximately 87,611,479 downloads per week and 1 known dependent packages.