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

babel-plugin-syntax-object-rest-spread

Allow parsing of object rest/spread.

Installation

$ npm install babel-plugin-syntax-object-rest-spread

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["syntax-object-rest-spread"]
}

Via CLI

$ babel --plugins syntax-object-rest-spread script.js

Via Node API

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

Current Tags

  • 6.13.0                                ...           latest (9 years ago)
  • 7.0.0-beta.3                                ...           next (8 years ago)

3 Versions

  • 7.0.0-alpha.19                                ...           8 years ago
  • 7.0.0-beta.3                                ...           8 years ago
  • 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