npm install get-function-nameget-function-name
=================
Get the name of a function
Install
-------
With npm
```
npm install get-function-name
Usage
-----
Node.js
`js
var getFunctionName = require('get-function-name')
var foo = function() {}
function bar() {}
getFunctionName(foo) // 'anonymous'
getFunctionName(bar) // 'bar'
getFunctionName('hello') // null
``