https://github.com/pillarjs/re2js-legendary
a node v0.10 compatible build of RE2JS
https://github.com/pillarjs/re2js-legendary
Last synced: 6 months ago
JSON representation
a node v0.10 compatible build of RE2JS
- Host: GitHub
- URL: https://github.com/pillarjs/re2js-legendary
- Owner: pillarjs
- License: mit
- Created: 2024-08-07T20:36:40.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-08T01:09:07.000Z (almost 2 years ago)
- Last Synced: 2025-10-14T07:27:59.001Z (9 months ago)
- Language: JavaScript
- Size: 364 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# re2js-legendary
a node v0.10 compatible build of [RE2JS]
## install
```sh
npm i re2js-legendary
```
## usage
usage instructions are the same as [RE2JS]
## updating
`index.cjs` and `index.cjs.map` are generated directly by [RE2JS] by running `npm i core-js@3`, using the following babel config, and then building:
```js
presets: [
[
'@babel/preset-env',
{
targets: { 'node': '0.10' },
'useBuiltIns': 'usage',
'corejs': '3'
}
]
],
```
[RE2JS]: https://github.com/le0pard/re2js