{"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":"mathias@qiwi.be"}],"dist":{"shasum":"fff1e2439b7ca67a103f42ccfae75b4ccf7e8515","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-unicode-property-regex/download/babel-plugin-transform-unicode-property-regex-1.0.0.tgz","integrity":"sha512-wa18uIQveKW2i7Ui8RBiHEKqp5diF3SK+tKabBKqNyREePmGtHQgHh7x8nKw6lTaqBzzgJBjTTuHqqMz+8gzNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1KZ+V+Xv5Jwo8UgASQf8T9CN5gQsydKcZW0zW0Hv3HwIhAL1Lujc8PIhpuzRLQVFj9JkMo7b5ZpdmVPBwQZN6r7NO"}],"size":1123,"noattachment":false,"key":"/babel-plugin-transform-unicode-property-regex/-/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"},"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":1464860686891,"_cnpm_publish_time":1464860686891,"dist-tags":{"latest":"2.0.5"}}