🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

babel-plugin-syntax-decorators

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-syntax-decorators

Allow parsing of decorators

6.13.0
latest
Version published
Weekly downloads
688K
4.48%
Maintainers
6
Weekly downloads
 
Created

babel-plugin-syntax-decorators

Allow parsing of decorators.

Installation

$ npm install babel-plugin-syntax-decorators

Usage

.babelrc

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

Via CLI

$ babel --plugins syntax-decorators script.js

Via Node API

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

Keywords

FAQs

Package last updated on 04 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts