HEX
Server: LiteSpeed
System: Linux houston.panomity.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User: nudepix (1011)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //opt/Perplexica/node_modules/fn.name/README.md
# fn.name

[![Version npm][version]](http://npm.im/fn.name)[![Build Status][build]](https://travis-ci.org/3rd-Eden/fn.name)[![Dependencies][david]](https://david-dm.org/3rd-Eden/fn.name)[![Coverage Status][cover]](https://coveralls.io/r/3rd-Eden/fn.name?branch=master)

[version]: http://img.shields.io/npm/v/fn.name.svg?style=flat-square
[build]: http://img.shields.io/travis/3rd-Eden/fn.name/master.svg?style=flat-square
[david]: https://img.shields.io/david/3rd-Eden/fn.name.svg?style=flat-square
[cover]: http://img.shields.io/coveralls/3rd-Eden/fn.name/master.svg?style=flat-square

Extract the name of a given function. Nothing more than that.

## Installation

This module is compatible with Browserify and Node.js and can be installed
using:

```
npm install --save fn.name
```

## Usage

Using this module is super simple, it exposes the function directly on the
exports so it can be required as followed:

```js
'use strict';

var name = require('fn.name');
```

Now that we have the `name` function we can pass it functions:

```js
console.log(name(function foo() {})) // foo
```

And that's it folks!

## License

MIT