-
-
Notifications
You must be signed in to change notification settings - Fork 59
Working on this project
Eugene Lazutkin edited this page Mar 24, 2026
·
5 revisions
This project uses git submodules, so the correct way to get it is:
git clone --recursive git@github.com:uhop/node-re2.git
cd node-re2For older versions of git:
git clone git@github.com:uhop/node-re2.git
cd node-re2
git submodule update --init --recursiveMake sure you have the necessary node-gyp dependencies for your platform, then run:
npm installBy default npm install downloads a prebuilt binary matching the version in package.json. To force a local build, either change the version to something like 2.0.0-pre, or create a .development file in the project root (it is gitignored).
.gitignore also lists .developmentx and .xdevelopment as convenient rename targets for .development when you want to toggle between local builds and prebuilt downloads.
To update a vendored dependency (e.g., google/re2):
cd vendor/re2
git checkout TAG # e.g., git checkout 2022-06-01