re2
Version:
Bindings for RE2: fast, safe alternative to backtracking regular expression engines.
103 lines (102 loc) • 4.82 kB
JSON
{
"name": "re2",
"version": "1.26.0",
"description": "Bindings for RE2: fast, safe alternative to backtracking regular expression engines.",
"homepage": "https://github.com/uhop/node-re2",
"bugs": "https://github.com/uhop/node-re2/issues",
"type": "commonjs",
"main": "re2.js",
"types": "re2.d.ts",
"files": [
"binding.gyp",
"lib",
"llms-full.txt",
"llms.txt",
"re2.d.ts",
"scripts/*.js",
"vendor"
],
"dependencies": {
"install-artifact-from-github": "^1.7.0",
"nan": "^2.27.0",
"node-gyp": "^13.0.0"
},
"devDependencies": {
"@types/node": "^26.0.1",
"@unicode/unicode-17.0.0": "^1.6.17",
"nano-benchmark": "^1.0.16",
"prettier": "^3.8.4",
"tape-six": "^1.14.0",
"tape-six-proc": "^1.3.1",
"typescript": "^6.0.3"
},
"scripts": {
"test": "tape6 --flags FO",
"test:seq": "tape6-seq --flags FO",
"test:proc": "tape6-proc --flags FO",
"save-to-github": "save-to-github-cache --artifact build/Release/re2.node",
"prepublishOnly": "hash-github-cache --write",
"install": "install-from-cache --artifact build/Release/re2.node --host-var RE2_DOWNLOAD_MIRROR --skip-path-var RE2_DOWNLOAD_SKIP_PATH --skip-ver-var RE2_DOWNLOAD_SKIP_VER --force-build-var RE2_DOWNLOAD_FORCE_BUILD || node-gyp -j max rebuild",
"verify-build": "node scripts/verify-build.js",
"build:dev": "node-gyp -j max build --debug",
"build": "node-gyp -j max build",
"build1": "node-gyp build",
"rebuild:dev": "node-gyp -j max rebuild --debug",
"rebuild": "node-gyp -j max rebuild",
"rebuild1": "node-gyp rebuild",
"clean": "node-gyp clean && node-gyp configure",
"clean-build": "node-gyp clean",
"ts-check": "tsc --noEmit",
"lint": "prettier --check *.js *.ts tests/ bench/",
"lint:fix": "prettier --write *.js *.ts tests/ bench/"
},
"github": "https://github.com/uhop/node-re2",
"repository": {
"type": "git",
"url": "git+https://github.com/uhop/node-re2.git"
},
"engines": {
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
},
"keywords": [
"RegExp",
"RegEx",
"text processing",
"PCRE alternative"
],
"author": "Eugene Lazutkin <eugene.lazutkin@gmail.com> (https://lazutkin.com/)",
"funding": "https://github.com/sponsors/uhop",
"license": "BSD-3-Clause",
"tape6": {
"tests": [
"/tests/test-*.*js",
"/tests/test-*.*ts"
]
},
"artifactHashes": {
"darwin-arm64-127": "sha256:ee6ab29e4827d1373145cfb75ef16584fa62aa4231f4d0cb6563d8f17e9562ba",
"darwin-arm64-137": "sha256:1c7092bd5b422c40f54c3d7dc34f5907285a0cd44ff4d638b862d84754d28147",
"darwin-arm64-147": "sha256:7e0ed56cc8c9041ba01227c3cb6baa976eaf5fd6f7eaf78064dcdd22b0e2e13d",
"darwin-x64-127": "sha256:2eff49ac19346b316fc19d6d99752eefac50a68d52882f9b449ee75937f7ef11",
"darwin-x64-137": "sha256:a034c96ec3bff397bc5e5f629f0c79f72c42aac91e3c234424d09ec2ba6d55f0",
"darwin-x64-147": "sha256:1772726792f2171a77bf5b5186612ce58a36be349cc6e5191986cd66925bbd65",
"linux-arm64-127": "sha256:11953057e63ba205c1d27b4145955c4f671d5b086bb98f7a2309c689639c8533",
"linux-arm64-137": "sha256:3b3920e2cce296fc75f9e1a3a70940d1ed9858ffc525aae03a897e61e75bba87",
"linux-arm64-147": "sha256:94938e8a5f9cbcd4ecde45d6b29fc526a19b2db1e8e7fb3aa280a4a58fc1bf0e",
"linux-musl-arm64-127": "sha256:51125be7c782612e89ed07cf3b695e7de63953c272f51be321ecbf170c258389",
"linux-musl-arm64-137": "sha256:34c78f56c986a0b2eff017dd173c5280531df70512dbec0cd33915c01ad42cd1",
"linux-musl-arm64-147": "sha256:fbf80ece0901a242191d9d26a18664cad8ba9785e141990deb04e6efc8665af3",
"linux-musl-x64-127": "sha256:569cc2d01e26e299a0f3d719f67603442e8e2045315ca2cac995504c1480fe99",
"linux-musl-x64-137": "sha256:89991ff4439e93b27539c0d81c17d05e5752814996464c835d2c646e785cecea",
"linux-musl-x64-147": "sha256:121e9d5f7af6f75b4a1d2b3bab514f514c7d93101e8eb992bd3e9fb2765f857d",
"linux-x64-127": "sha256:3218e8a6daba6d70e525668c76d9a955d383c45266e49c52fb716828e9bf1771",
"linux-x64-137": "sha256:a0a0e9a261625f7a982851d3f069dd7f3a370399f5be90b1922835ac6bf66be8",
"linux-x64-147": "sha256:140286223194fe98650a72da7de8f893cd51b72f607c401f62d7d5c860e2e992",
"win32-arm64-127": "sha256:cb763db7c2a21ac4557946df9b0239a3e51db8b7fca7adb7d74adb4317e846b7",
"win32-arm64-137": "sha256:469db40cd5ad51f16652d3d122e37ea4e448dd43691cd3f935905e462f0634df",
"win32-arm64-147": "sha256:8c9505f8e0a85c437163bbbc10556e8fa4938d03dba063d4516ae34301f46020",
"win32-x64-127": "sha256:c97d9a0ab350720a01e367d62956b5f85d645613fcb71b5047b41a1806f6d609",
"win32-x64-137": "sha256:0d729f3b2e965fad8c1cec2f16dd8b4adcc7d55b80580d3ec96b5a56ef0c443b",
"win32-x64-147": "sha256:425fa904163218fd1f96692838a04955b3fd148604c4e455dc8a17527e5c6717"
}
}