babel-plugin-syntax-decorators

6.13.0 • Public • Published

babel-plugin-syntax-decorators

Allow parsing of decorators.

Installation

$ npm install babel-plugin-syntax-decorators

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["syntax-decorators"]
}

Via CLI

$ babel --plugins syntax-decorators script.js

Via Node API

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

Versions

Current Tags

Version History

Package Sidebar

Install

npm i babel-plugin-syntax-decorators

Weekly Downloads

490,043

Version

6.13.0

License

MIT

Last publish

Collaborators

  • hzoo
  • loganfsmyth
  • existentialism