Skip to content

a node v0.10 compatible build of RE2JS

License

Notifications You must be signed in to change notification settings

pillarjs/re2js-legendary

Repository files navigation

re2js-legendary

a node v0.10 compatible build of RE2JS

install

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:

  presets: [
    [
      '@babel/preset-env',
      {
        targets: { 'node': '0.10' },
        'useBuiltIns': 'usage',
        'corejs': '3'
      }
    ]
  ],