# getfunctionname

> Get the name of a function

Latest version **0.3.2** (published 2016-03-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install getfunctionname
pnpm add getfunctionname
yarn add getfunctionname
bun add getfunctionname
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.2 |
| Published | 2016-03-26 |
| First published | 2016-03-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | James Monger |
| Maintainers | jameskmonger |

## Links

- npm: https://www.npmjs.com/package/getfunctionname
- npm.io page: https://npm.io/package/getfunctionname

## Recent versions

- 0.3.2 (latest) — 2016-03-26
- 0.3.1 — 2016-03-26
- 0.3.0 — 2016-03-26
- 0.2.0 — 2016-03-26
- 0.1.0 — 2016-03-26

## README

# getfunctionname

Get the readable name of a function.

## Installation

    $ npm install getfunctionname

## Usage

```javascript
var getFunctionName = require('getfunctionname');

getFunctionName(function someFunction () { }); // 'someFunction'
getFunctionName(function ANOTHER_FUNCTION () { }); // 'ANOTHER_FUNCTION'

getFunctionName(() => { }); // 'anonymous'
getFunctionName(function () { }); // 'anonymous'
```

## License

[MIT](LICENSE)

---
_Source: https://npm.io/package/getfunctionname · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
