{"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":"mathias@qiwi.be"}],"dist":{"integrity":"sha512-UmRwDvxO+8yRMCkI6xOnJWlNlmK+zqR6rdukL7m0+eKC1hnuPPMU8Zvji8iUWBY+GAo8Z8q0R60jQuX9wKGDfA==","shasum":"8f90d9b4cff96502aa95db8537d2a9d329cb5240","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-unicode-property-regex/download/babel-plugin-transform-unicode-property-regex-2.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDwqhEcUlASNXSuMuEDyBU/vp7ErFAzeezFpqFWAlpgQIgU3lxEPuF6dkPWjrU2wuAElGq+lh34wW3GSlatFQogAI="}],"size":1808,"noattachment":false,"key":"/babel-plugin-transform-unicode-property-regex/-/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"},"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":1498052709844,"_cnpm_publish_time":1498052709844,"dist-tags":{"latest":"2.0.5"}}