Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

babel-plugin-object-rest-spread

0.0.0 • Public • Published

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

Install

npm i babel-plugin-object-rest-spread

DownloadsWeekly Downloads

147

Version

0.0.0

License

MIT

Last publish

Collaborators

  • avatar