babel-plugin-syntax-decorators
Allow parsing of decorators
Last updated 9 years ago by hzoo .
MIT · Repository · Original npm
$ cnpm install babel-plugin-syntax-decorators 
SYNC missed versions from official npm registry.

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"]
});

Current Tags

  • 6.13.0                                ...           latest (9 years ago)

1 Versions

  • 6.13.0                                ...           9 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org