@vect/rename
v0.6.13
Published
An array util tool
Downloads
16
Readme
@vect/renamer
Rename a function
Features
- ES2015 syntax
Install
$ npm install @vect/rename
Usage
import { rename } from '@vect/rename'
const func = x => x
console.log(func.name) // func
rename(func, 'not-a-method')
console.log(func.name) // not-a-method