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
function-name 
Get the name of a named function
There is a non-standard property .name 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
Download manually or with a package-manager.
npm
npm install --save fn-nameBower
bower install --save function-nameComponent
component install sindresorhus/function-nameExamples
Node.js
var functionName = require('function-name');
functionName(function foo() {});
//=> fooBower
<script src="bower_components/function-name/function-name.js"></script>functionName(function foo() {});
//=> fooLicense
MIT © Sindre Sorhus