re2

Bindings for RE2: fast, safe alternative to backtracking regular expression engines.

re2@1.27.0 was published on 2026-09-26. Its manifest declares 3 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is ^22.22.2 || ^24.15.0 || >=26.0.0.

All re2 versions · Permanent reference to 1.27.0

Package specifications

Version1.27.0
License declarationBSD-3-Clause
Published2026-09-26T17:52:29.998Z
Node.js requirement^22.22.2 || ^24.15.0 || >=26.0.0
Type declarationsBundled declarations
Runtime dependency count3
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size13018.06 KiB
Published file count1762
Package typecommonjs
ES module entryNot declared
Default entryre2.js
Side effects declarationNot declared
Direct advisories0
Resolved graph dependencies22
Repository stars563
Repository forks59

Install re2 1.27.0

npm install re2@1.27.0
pnpm add re2@1.27.0
yarn add re2@1.27.0

Runtime dependencies

Peer requirements

  • None declared

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Maintained10/10 — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Code-Review0/10 — Found 1/21 approved changesets -- score normalized to 0
Binary-Artifacts10/10 — no binaries found in the repo
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Token-Permissions10/10 — GitHub workflow tokens follow principle of least privilege
Security-Policy0/10 — security policy file not detected
Fuzzing0/10 — project is not fuzzed
License10/10 — license file detected
SAST0/10 — SAST tool is not run on all commits -- score normalized to 0
Branch-Protection0/10 — branch protection not enabled on development/release branches
Signed-Releases0/10 — Project has not signed or included provenance with any releases.
Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0

Evidence and freshness