babel-plugin-object-rest-spread
This is 'transform-object-rest-spread' without the dependency on 'transform-es2015-destructuring'
Last updated 4 years ago by ryuu .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-plugin-object-rest-spread 
SYNC missed versions from official npm registry.

npm version development dependencies license

This is 'transform-object-rest-spread' without the dependency on 'transform-es2015-destructuring'

table of contents

install

npm install --save-dev babel-plugin-object-rest-spread

usage

via .babelrc (recommended)
// without options
{
  "plugins": ["babel-plugin-object-rest-spread"]
}

// with options
{
  "plugins": [
    ["babel-plugin-object-rest-spread", {
      "loose": true,
      "extends": true
    }]
  ]
}
via cli
babel --plugins babel-plugin-object-rest-spread script.js
via node api
require('babel-core').transform(source, {
  plugins: ['babel-plugin-object-rest-spread']
})

license

Copyright (c) 2016+ Futago-za Ryuu (gitlab, github)
The MIT License, http://opensource.org/licenses/MIT

Current Tags

  • 0.0.0                                ...           latest (4 years ago)

1 Versions

  • 0.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 4
Dependencies (0)
None
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |