{ "_args": [ [ { "raw": "babel-plugin-transform-es2015-unicode-regex@6.x", "scope": null, "escapedName": "babel-plugin-transform-es2015-unicode-regex", "name": "babel-plugin-transform-es2015-unicode-regex", "rawSpec": "6.x", "spec": ">=6.0.0 <7.0.0", "type": "range" }, "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/babel-preset-es2015-node" ] ], "_from": "babel-plugin-transform-es2015-unicode-regex@>=6.0.0 <7.0.0", "_id": "babel-plugin-transform-es2015-unicode-regex@6.24.1", "_inCache": true, "_location": "/babel-plugin-transform-es2015-unicode-regex", "_nodeVersion": "6.9.0", "_npmOperationalInternal": { "host": "packages-18-east.internal.npmjs.com", "tmp": "tmp/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz_1491578353335_0.3241676192265004" }, "_npmUser": { "name": "hzoo", "email": "hi@henryzoo.com" }, "_npmVersion": "3.10.10", "_phantomChildren": {}, "_requested": { "raw": "babel-plugin-transform-es2015-unicode-regex@6.x", "scope": null, "escapedName": "babel-plugin-transform-es2015-unicode-regex", "name": "babel-plugin-transform-es2015-unicode-regex", "rawSpec": "6.x", "spec": ">=6.0.0 <7.0.0", "type": "range" }, "_requiredBy": [ "/babel-preset-es2015-node" ], "_resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz", "_shasum": "d38b12f42ea7323f729387f18a7c5ae1faeb35e9", "_shrinkwrap": null, "_spec": "babel-plugin-transform-es2015-unicode-regex@6.x", "_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/babel-preset-es2015-node", "dependencies": { "babel-helper-regex": "^6.24.1", "babel-runtime": "^6.22.0", "regexpu-core": "^2.0.0" }, "description": "Compile ES2015 Unicode regex to ES5", "devDependencies": { "babel-helper-plugin-test-runner": "^6.24.1" }, "directories": {}, "dist": { "shasum": "d38b12f42ea7323f729387f18a7c5ae1faeb35e9", "tarball": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz" }, "keywords": [ "babel-plugin" ], "license": "MIT", "main": "lib/index.js", "maintainers": [ { "name": "amasad", "email": "amjad.masad@gmail.com" }, { "name": "hzoo", "email": "hi@henryzoo.com" }, { "name": "jmm", "email": "npm-public@jessemccarthy.net" }, { "name": "loganfsmyth", "email": "loganfsmyth@gmail.com" }, { "name": "sebmck", "email": "sebmck@gmail.com" }, { "name": "thejameskyle", "email": "me@thejameskyle.com" } ], "name": "babel-plugin-transform-es2015-unicode-regex", "optionalDependencies": {}, "readme": "# babel-plugin-transform-es2015-unicode-regex\n\n> Compile ES2015 unicode regex to ES5\n\n## Example\n\n**In**\n\n```js\nvar string = \"foo💩bar\";\nvar match = string.match(/foo(.)bar/u);\n```\n\n**Out**\n\n```js\nvar string = \"foo💩bar\";\nvar match = string.match(/foo((?:[\\0-\\t\\x0B\\f\\x0E-\\u2027\\u202A-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]))bar/);\n```\n\n## Installation\n\n```sh\nnpm install --save-dev babel-plugin-transform-es2015-unicode-regex\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n \"plugins\": [\"transform-es2015-unicode-regex\"]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins transform-es2015-unicode-regex script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n plugins: [\"transform-es2015-unicode-regex\"]\n});\n```\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-unicode-regex" }, "scripts": {}, "version": "6.24.1" }