node-fn-name

Get the name of a named function

Description

There is a non-standard name property on functions in Javascript, but it's not supported in all browsers. This module tries that property then falls back to extracting the name from the function source. This package is a dependency for ava.

Node.js is an event-based server-side JavaScript engine.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/sindresorhus/fn-name


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install node-fn-name