babel-plugin-alter-object-assign
Replace Object.assign with a custom function.
Last updated 9 years ago by rem .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install babel-plugin-alter-object-assign 
SYNC missed versions from official npm registry.

babel-plugin-alter-object-assign

NPM version NPM downloads CircleCI codecov donate chat

Install

yarn add babel-plugin-alter-object-assign

Usage

With .babelrc:

{
  "plugins": [
    ["alter-object-assign", { "objectAssign": "myAssign" }]
  ]
}

In:

Object.assign({})

Out:

myAssign({})

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

babel-plugin-alter-object-assign © EGOIST, Released under the MIT License.
Authored and maintained by EGOIST with help from contributors (list).

egoist.moe · GitHub @EGOIST · Twitter @_egoistlily

Current Tags

  • 1.0.2                                ...           latest (9 years ago)

3 Versions

  • 1.0.2                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
Maintainers (1)
Downloads
Total 22
Today 1
This Week 6
This Month 13
Last Day 1
Last Week 0
Last Month 5
Dependencies (0)
None
Dev Dependencies (5)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE