Package Exports
- fn-name
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fn-name) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
fn-name 
Get the name of a named function
There is a name property on functions, but it's not supported in all browsers. This module tries that property then falls back to extracting the name from the function source.
Install
$ npm install fn-nameUsage
const fnName = require('fn-name');
fnName(function foo() {});
//=> 'foo'
Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.