{"library":"babel-plugin-transform-regex","type":"library","category":null,"description":"A Babel plugin that transpiles Regex+ template tag (`regex`…``) calls into native RegExp literals at build time. Current stable version is 6.1.0, updated January 2025. Releases are tied to the base Regex+ library. Key differentiators: eliminates runtime dependency, zero runtime cost, supports modern regex features (atomic groups, subroutines, definition groups, Unicode sets). Designed for Node.js and browser bundlers using Babel.","language":"javascript","status":"active","version":"6.1.0","tags":["javascript","regex","babel-plugin"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-transform-regex","imports":["import plugin from 'babel-plugin-transform-regex'","// In .babelrc: { \"plugins\": [[\"babel-plugin-transform-regex\", { \"removeImport\": true }]] }","import { regex } from 'regex'; const r = regex`^abc$`;"]},{"cmd":"yarn add babel-plugin-transform-regex","imports":[]},{"cmd":"pnpm add babel-plugin-transform-regex","imports":[]}],"homepage":null,"github":"https://github.com/slevithan/babel-plugin-transform-regex","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-transform-regex","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-transform-regex/compatibility"}}