@vect/clone

0.8.0 • Public • Published

@vect/renamer

Rename a function

npm version npm download monthly npm download total npm dependents npm license pp install size github commit last github commit total

Features

  • ES2015 syntax

Install

$ npm install @vect/clone

Usage

import { clone } from '@vect/clone'

const func = x => x
console.log(func.name) // func
clone(func, 'not-a-method')
console.log(func.name) // not-a-method

Meta

LICENSE (MIT)

Readme

Keywords

Package Sidebar

Install

npm i @vect/clone

Weekly Downloads

528

Version

0.8.0

License

MIT

Unpacked Size

4.97 kB

Total Files

4

Last publish

Collaborators

  • hoyeung