6.18.0 • Published 8 years ago

babel-plugin-syntax-class-constructor-call v6.18.0

Weekly downloads
391,391
License
MIT
Repository
github
Last release
8 years ago

babel-plugin-syntax-class-constructor-call

Allow parsing of do expressions.

Installation

$ npm install babel-plugin-syntax-class-constructor-call

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["syntax-class-constructor-call"]
}

Via CLI

$ babel --plugins syntax-class-constructor-call script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["syntax-class-constructor-call"]
});