{"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":{"integrity":"sha512-ctmr6Nbjl7q9Ct4yufyp5p148840XnOCQtnRH0EzhvxbAXefpuA9Bl6Gp3jNHehUEzBVa+/qfV950AY5JAZjQw==","shasum":"db13fe12e7380dd6ce0e9206cff3eb4116483ece","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-unicode-property-regex/download/babel-plugin-transform-unicode-property-regex-2.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLuMIkjZZVM0KHA2UOtXgf63RL0wjD0wjp2e634ESOqwIhAO/ZI0apIOwHx1gb/8kdv38qvazY5n0i91SXtjrewgv6"}],"size":1805,"noattachment":false,"key":"/babel-plugin-transform-unicode-property-regex/-/babel-plugin-transform-unicode-property-regex-2.0.3.tgz"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-unicode-property-regex-2.0.3.tgz_1502968313155_0.9958066055551171"},"deprecated":"Use @babel/plugin-proposal-unicode-property-regex instead.","directories":{},"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","publish_time":1502968313991,"_cnpm_publish_time":1502968313991,"dist-tags":{"latest":"2.0.5"}}