chensenlai 10988628a0 语音房项目初始化 5 gadi atpakaļ
..
lib 10988628a0 语音房项目初始化 5 gadi atpakaļ
.npmignore 10988628a0 语音房项目初始化 5 gadi atpakaļ
README.md 10988628a0 语音房项目初始化 5 gadi atpakaļ
package.json 10988628a0 语音房项目初始化 5 gadi atpakaļ

README.md

babel-plugin-transform-es2015-sticky-regex

Compile ES2015 sticky regex to an ES5 RegExp constructor

Installation

$ npm install babel-plugin-transform-es2015-sticky-regex

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["transform-es2015-sticky-regex"]
}

Via CLI

$ babel --plugins transform-es2015-sticky-regex script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["transform-es2015-sticky-regex"]
});