summaryrefslogtreecommitdiffstats
path: root/node_modules/babel-plugin-transform-es2015-sticky-regex/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/babel-plugin-transform-es2015-sticky-regex/README.md')
-rw-r--r--node_modules/babel-plugin-transform-es2015-sticky-regex/README.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/node_modules/babel-plugin-transform-es2015-sticky-regex/README.md b/node_modules/babel-plugin-transform-es2015-sticky-regex/README.md
new file mode 100644
index 0000000..aefaaf9
--- /dev/null
+++ b/node_modules/babel-plugin-transform-es2015-sticky-regex/README.md
@@ -0,0 +1,35 @@
+# babel-plugin-transform-es2015-sticky-regex
+
+> Compile ES2015 sticky regex to an ES5 RegExp constructor
+
+## Installation
+
+```sh
+npm install --save-dev babel-plugin-transform-es2015-sticky-regex
+```
+
+## Usage
+
+### Via `.babelrc` (Recommended)
+
+**.babelrc**
+
+```json
+{
+ "plugins": ["transform-es2015-sticky-regex"]
+}
+```
+
+### Via CLI
+
+```sh
+babel --plugins transform-es2015-sticky-regex script.js
+```
+
+### Via Node API
+
+```javascript
+require("babel-core").transform("code", {
+ plugins: ["transform-es2015-sticky-regex"]
+});
+```