0.0.17 • Published 2 years ago

@ject/rename v0.0.17

Weekly downloads
1
License
MIT
Repository
github
Last release
2 years ago

@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

//: <> (Shields)

//: <> (Link)

Features

  • Rename a function

Install

$ npm install @ject/rename

Usage

import { rename } from '@ject/rename'

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

Meta

LICENSE (MIT)