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

babel-plugin-syntax-do-expressions

Allow parsing of do expressions.

Installation

$ npm install babel-plugin-syntax-do-expressions

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["syntax-do-expressions"]
}

Via CLI

$ babel --plugins syntax-do-expressions script.js

Via Node API

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

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