{"_id":"babel-plugin-transform-unicode-property-regex","_rev":"81589","name":"babel-plugin-transform-unicode-property-regex","description":"Compile Unicode property escapes in Unicode regular expressions to ES5.","dist-tags":{"latest":"2.0.5"},"maintainers":[{"name":"mathias","email":""}],"time":{"modified":"2021-06-03T10:26:02.000Z","created":"2016-06-02T09:44:46.891Z","2.0.5":"2017-09-18T16:31:44.413Z","2.0.4":"2017-08-19T13:49:07.281Z","2.0.3":"2017-08-17T11:11:53.991Z","2.0.2":"2017-06-21T13:45:09.844Z","2.0.1":"2017-03-08T19:24:41.284Z","2.0.0":"2017-01-20T07:44:55.039Z","1.0.0":"2016-06-02T09:44:46.891Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex.git"},"versions":{"2.0.5":{"name":"babel-plugin-transform-unicode-property-regex","version":"2.0.5","description":"Compile Unicode property escapes in Unicode regular expressions to ES5.","homepage":"https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex","main":"dist/index.js","engines":{"node":">=4"},"keywords":["babel-plugin","regex","regexp","regular expressions","unicode properties","unicode"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex.git"},"bugs":{"url":"https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex/issues"},"files":["dist"],"scripts":{"build":"babel src -d dist","clean":"rm -rf dist","prepublish":"npm run clean && npm run build","test":"mocha --compilers js:babel-register","test:watch":"npm run test -- --watch"},"dependencies":{"babel-helper-regex":"^6.26.0","regexpu-core":"^4.1.3"},"devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-preset-es2015":"^6.24.1","babel-register":"^6.26.0","istanbul":"^0.4.5","mocha":"^3.5.3"},"gitHead":"bdef458acaa074ce58e36b0e63061512fb699123","_id":"babel-plugin-transform-unicode-property-regex@2.0.5","_npmVersion":"5.3.0","_nodeVersion":"8.5.0","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"dist":{"shasum":"24922190f9598384d258a6c8e7409309dc6f3898","size":1800,"noattachment":false,"key":"/babel-plugin-transform-unicode-property-regex/-/babel-plugin-transform-unicode-property-regex-2.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-unicode-property-regex/download/babel-plugin-transform-unicode-property-regex-2.0.5.tgz"},"maintainers":[{"name":"mathias","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-unicode-property-regex-2.0.5.tgz_1505752303365_0.6549314390867949"},"directories":{},"publish_time":1505752304413,"_hasShrinkwrap":false,"_cnpm_publish_time":1505752304413,"deprecated":"Use @babel/plugin-proposal-unicode-property-regex instead."},"2.0.4":{"name":"babel-plugin-transform-unicode-property-regex","version":"2.0.4","description":"Compile Unicode property escapes in Unicode regular expressions to ES5.","homepage":"https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex","main":"dist/index.js","engines":{"node":">=4"},"keywords":["babel-plugin","regex","regexp","regular expressions","unicode properties","unicode"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex.git"},"bugs":{"url":"https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex/issues"},"files":["dist"],"scripts":{"build":"babel src -d dist","clean":"rm -rf dist","prepublish":"npm run clean && npm run build","test":"mocha --compilers js:babel-register","test:watch":"npm run test -- --watch"},"dependencies":{"babel-helper-regex":"^6.26.0","regexpu-core":"^4.1.2"},"devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-preset-es2015":"^6.24.1","babel-register":"^6.26.0","istanbul":"^0.4.5","mocha":"^3.5.0"},"gitHead":"1a1b25198ab91968725df688d4ee6ed0b7647134","_id":"babel-plugin-transform-unicode-property-regex@2.0.4","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"dist":{"shasum":"911229fc2fa672760ab95f560d98352d921ccd97","size":1803,"noattachment":false,"key":"/babel-plugin-transform-unicode-property-regex/-/babel-plugin-transform-unicode-property-regex-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-unicode-property-regex/download/babel-plugin-transform-unicode-property-regex-2.0.4.tgz"},"maintainers":[{"name":"mathias","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-unicode-property-regex-2.0.4.tgz_1503150546272_0.8908311461564153"},"directories":{},"publish_time":1503150547281,"_hasShrinkwrap":false,"_cnpm_publish_time":1503150547281,"deprecated":"Use @babel/plugin-proposal-unicode-property-regex instead."},"2.0.3":{"name":"babel-plugin-transform-unicode-property-regex","version":"2.0.3","description":"Compile Unicode property escapes in Unicode regular expressions to ES5.","homepage":"https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex","main":"dist/index.js","engines":{"node":">=4"},"keywords":["babel-plugin","regex","regexp","regular expressions","unicode properties","unicode"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex.git"},"bugs":{"url":"https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex/issues"},"files":["dist"],"scripts":{"build":"babel src -d dist","clean":"rm -rf dist","prepublish":"npm run clean && npm run build","test":"mocha --compilers js:babel-register","test:watch":"npm run test -- --watch"},"dependencies":{"babel-helper-regex":"^6.26.0","babel-runtime":"^6.26.0","regexpu-core":"^4.1.2"},"devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-preset-es2015":"^6.24.1","babel-register":"^6.26.0","istanbul":"^0.4.5","mocha":"^3.5.0"},"gitHead":"6e01cc8993d97bfb1eb7f0f7b7be6f10320e1e06","_id":"babel-plugin-transform-unicode-property-regex@2.0.3","_npmVersion":"5.3.0","_nodeVersion":"8.1.2","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"dist":{"shasum":"db13fe12e7380dd6ce0e9206cff3eb4116483ece","size":1805,"noattachment":false,"key":"/babel-plugin-transform-unicode-property-regex/-/babel-plugin-transform-unicode-property-regex-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-unicode-property-regex/download/babel-plugin-transform-unicode-property-regex-2.0.3.tgz"},"maintainers":[{"name":"mathias","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-unicode-property-regex-2.0.3.tgz_1502968313155_0.9958066055551171"},"directories":{},"publish_time":1502968313991,"_cnpm_publish_time":1502968313991,"_hasShrinkwrap":false,"deprecated":"Use @babel/plugin-proposal-unicode-property-regex instead."},"2.0.2":{"name":"babel-plugin-transform-unicode-property-regex","version":"2.0.2","description":"Compile Unicode property escapes in Unicode regular expressions to ES5.","homepage":"https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex","main":"dist/index.js","engines":{"node":">=4"},"keywords":["babel-plugin","regex","regexp","regular expressions","unicode properties","unicode"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex.git"},"bugs":{"url":"https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex/issues"},"files":["dist"],"scripts":{"build":"babel src -d dist","clean":"rm -rf dist","prepublish":"npm run clean && npm run build","test":"mocha --compilers js:babel-register","test:watch":"npm run test -- --watch"},"dependencies":{"babel-helper-regex":"^6.24.1","babel-runtime":"^6.23.0","regexpu-core":"^4.1.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.25.0","babel-preset-es2015":"^6.24.1","babel-register":"^6.24.1","istanbul":"^0.4.5","mocha":"^3.4.2"},"gitHead":"86fddf88ce9dfe67df90be612b5330b89075e164","_id":"babel-plugin-transform-unicode-property-regex@2.0.2","_npmVersion":"5.0.3","_nodeVersion":"8.1.0","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":""}],"dist":{"shasum":"8f90d9b4cff96502aa95db8537d2a9d329cb5240","size":1808,"noattachment":false,"key":"/babel-plugin-transform-unicode-property-regex/-/babel-plugin-transform-unicode-property-regex-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-unicode-property-regex/download/babel-plugin-transform-unicode-property-regex-2.0.2.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-unicode-property-regex-2.0.2.tgz_1498052708824_0.6901764054782689"},"directories":{},"publish_time":1498052709844,"_hasShrinkwrap":false,"_cnpm_publish_time":1498052709844,"deprecated":"Use @babel/plugin-proposal-unicode-property-regex instead."},"2.0.1":{"name":"babel-plugin-transform-unicode-property-regex","version":"2.0.1","description":"Compile Unicode property escapes in Unicode regular expressions to ES5.","homepage":"https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex","main":"dist/index.js","engines":{"node":">=4"},"keywords":["babel-plugin","regex","regexp","regular expressions","unicode properties","unicode"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex.git"},"bugs":{"url":"https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex/issues"},"files":["dist"],"scripts":{"build":"babel src -d dist","clean":"rm -rf dist","prepublish":"npm run clean && npm run build","test":"mocha --compilers js:babel-register","test:watch":"npm run test -- --watch"},"dependencies":{"babel-helper-regex":"^6.18.0","babel-runtime":"^6.23.0","regexpu-core":"^4.0.4"},"devDependencies":{"babel-cli":"^6.23.0","babel-core":"^6.23.1","babel-preset-es2015":"^6.22.0","babel-register":"^6.23.0","istanbul":"^0.4.5","mocha":"^3.2.0"},"gitHead":"eea8644ab65c7554cd2f52f366d059f3ac446d4d","_id":"babel-plugin-transform-unicode-property-regex@2.0.1","_shasum":"fd8f2622d372edc6873cb646a0e1e2f15430d965","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":""}],"dist":{"shasum":"fd8f2622d372edc6873cb646a0e1e2f15430d965","size":1809,"noattachment":false,"key":"/babel-plugin-transform-unicode-property-regex/-/babel-plugin-transform-unicode-property-regex-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-unicode-property-regex/download/babel-plugin-transform-unicode-property-regex-2.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-unicode-property-regex-2.0.1.tgz_1489001080674_0.8358452806714922"},"directories":{},"publish_time":1489001081284,"_cnpm_publish_time":1489001081284,"_hasShrinkwrap":false,"deprecated":"Use @babel/plugin-proposal-unicode-property-regex instead."},"2.0.0":{"name":"babel-plugin-transform-unicode-property-regex","version":"2.0.0","description":"Compile Unicode property escapes in Unicode regular expressions to ES5.","homepage":"https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex","main":"dist/index.js","engines":{"node":">=4"},"keywords":["babel-plugin","regex","regexp","regular expressions","unicode properties","unicode"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex.git"},"bugs":{"url":"https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex/issues"},"files":["dist"],"scripts":{"build":"babel src -d dist","clean":"rm -rf dist","prepublish":"npm run clean && npm run build","test":"mocha --compilers js:babel-register","test:watch":"npm run test -- --watch"},"dependencies":{"babel-helper-regex":"^6.18.0","babel-runtime":"^6.18.0","regexpu-core":"^4.0.1"},"devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.18.2","babel-preset-es2015":"^6.18.0","babel-register":"^6.18.0","istanbul":"^0.4.5","mocha":"^3.1.2"},"gitHead":"a2a68b580262628632475b03539f496dea25ff0a","_id":"babel-plugin-transform-unicode-property-regex@2.0.0","_shasum":"9c9c2d61e07d3e2c52264954bb4efd4eb5e4e18f","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":""}],"dist":{"shasum":"9c9c2d61e07d3e2c52264954bb4efd4eb5e4e18f","size":1804,"noattachment":false,"key":"/babel-plugin-transform-unicode-property-regex/-/babel-plugin-transform-unicode-property-regex-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-unicode-property-regex/download/babel-plugin-transform-unicode-property-regex-2.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-unicode-property-regex-2.0.0.tgz_1484898294495_0.728100701700896"},"directories":{},"publish_time":1484898295039,"_cnpm_publish_time":1484898295039,"_hasShrinkwrap":false,"deprecated":"Use @babel/plugin-proposal-unicode-property-regex instead."},"1.0.0":{"name":"babel-plugin-transform-unicode-property-regex","version":"1.0.0","description":"Compile Unicode property escapes in Unicode regular expressions to ES5.","homepage":"https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex","main":"dist/index.js","engines":{"node":">=4"},"keywords":["babel-plugin","regex","regexp","regular expressions","unicode properties","unicode"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex.git"},"bugs":{"url":"https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex/issues"},"files":["dist"],"scripts":{"build":"babel src -d dist","clean":"rm -rf dist","prepublish":"npm run clean && npm run build","test":"mocha --compilers js:babel-register","test:watch":"npm run test -- --watch"},"dependencies":{"babel-helper-regex":"^6.8.0","babel-runtime":"^6.0.0","regexpu-core":"^3.0.1"},"devDependencies":{"babel-cli":"^6.9.0","babel-core":"^6.9.1","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","istanbul":"^0.4.0","mocha":"^2.5.3"},"gitHead":"6a3f1341b91ce49eed0d47a0afa8371f8df30e99","_id":"babel-plugin-transform-unicode-property-regex@1.0.0","_shasum":"fff1e2439b7ca67a103f42ccfae75b4ccf7e8515","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":""}],"dist":{"shasum":"fff1e2439b7ca67a103f42ccfae75b4ccf7e8515","size":1123,"noattachment":false,"key":"/babel-plugin-transform-unicode-property-regex/-/babel-plugin-transform-unicode-property-regex-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-unicode-property-regex/download/babel-plugin-transform-unicode-property-regex-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-unicode-property-regex-1.0.0.tgz_1464860685683_0.07280491292476654"},"directories":{},"publish_time":1464860686891,"_cnpm_publish_time":1464860686891,"_hasShrinkwrap":false,"deprecated":"Use @babel/plugin-proposal-unicode-property-regex instead."}},"readme":"# babel-plugin-transform-unicode-property-regex [![Build status](https://travis-ci.org/mathiasbynens/babel-plugin-transform-unicode-property-regex.svg?branch=master)](https://travis-ci.org/mathiasbynens/babel-plugin-transform-unicode-property-regex)\n\nCompile [Unicode property escapes](https://github.com/mathiasbynens/regexpu-core/blob/master/property-escapes.md) (`\\p{…}` and `\\P{…}`) in Unicode regular expressions to ES5 or ES6 that works in today’s environments.\n\n**Note:** the Unicode property escape syntax is non-standard and may or may not reflect what eventually gets specified.\n\n[Here’s an online demo.](https://mothereff.in/regexpu#input=var+regex+%3D+/%5Cp%7BScript_Extensions%3DGreek%7D/u%3B&unicodePropertyEscape=1)\n\n## Installation\n\n```sh\n$ npm install babel-plugin-transform-unicode-property-regex\n```\n\n## Usage\n\n### Via `.babelrc` (recommended)\n\n`.babelrc`\n\n```json\n{\n  \"plugins\": [\"transform-unicode-property-regex\"]\n}\n```\n\n### Via CLI\n\n```sh\n$ babel --plugins transform-unicode-property-regex script.js\n```\n\n### Via Node.js API\n\n```js\nrequire('babel-core').transform(code, {\n  'plugins': ['transform-unicode-property-regex']\n});\n```\n\nTo transpile to ES6/ES2015:\n\n```js\nrequire('babel-core').transform(code, {\n  'plugins': [\n    ['transform-unicode-property-regex', { 'useUnicodeFlag': true }]\n  ]\n});\n```\n\n## Author\n\n| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias \"Follow @mathias on Twitter\") |\n|---|\n| [Mathias Bynens](https://mathiasbynens.be/) |\n\n## License\n\nThis code is available under the [MIT](https://mths.be/mit) license.\n","_attachments":{},"homepage":"https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex","bugs":{"url":"https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex/issues"},"license":"MIT"}