November Perfect Moustache
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

babel-plugin-syntax-class-properties

6.13.0 • Public • Published

babel-plugin-syntax-class-properties

Allow parsing of class properties.

Installation

$ npm install babel-plugin-syntax-class-properties

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["syntax-class-properties"]
}

Via CLI

$ babel --plugins syntax-class-properties script.js

Via Node API

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

Keywords

install

npm i babel-plugin-syntax-class-properties

Downloadsweekly downloads

2,047,366

version

6.13.0

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar