{"_id":"get-function-name","_rev":"4-f5a25a1f22c3a50ecae0b8d736d2c554","name":"get-function-name","description":"Get name of a function","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"get-function-name","author":{"name":"Beau Sorensen","email":"mail@beausorensen.com","url":"http://github.com/sorensen"},"version":"0.0.1","license":"MIT","keywords":["function","name"],"description":"Get name of a function","repository":{"type":"git","url":"git://github.com/sorensen/get-function-name.js.git"},"engines":{"node":"0.x"},"main":"index.js","scripts":{"test":"npm run hint && ./node_modules/mocha/bin/mocha -R spec test.js","hint":"jshint *.js *.json"},"devDependencies":{"mocha":"^2.1.0"},"gitHead":"561a1a83f05a49ddd780b603cdb7be242c9d04fb","bugs":{"url":"https://github.com/sorensen/get-function-name.js/issues"},"homepage":"https://github.com/sorensen/get-function-name.js","_id":"get-function-name@0.0.1","_shasum":"6d62f97736b504e69cfac7abc85d5020b5998dc7","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.10.30","_npmUser":{"name":"sorensen","email":"mail@beausorensen.com"},"maintainers":[{"name":"sorensen","email":"mail@beausorensen.com"}],"dist":{"shasum":"6d62f97736b504e69cfac7abc85d5020b5998dc7","tarball":"https://registry.npmjs.org/get-function-name/-/get-function-name-0.0.1.tgz","integrity":"sha512-fYl69mwTIZkVcLxzngjwWRXm+Oe55v2m50Ft5WxkgdhDTP8LT0vW+6Duiv/a5YVoqlYQ0vSkTJrJOTDmJx3rWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmVEZSInDfz6yXZEXLHi3eFY8ISFOLGOK/TJNwVsF2ngIhAMNp+wp8HAq2slm23OmEvsK29BL5LodVhESUT+C7ioy8"}]}}},"readme":"get-function-name\n=================\n\nGet the name of a function\n\nInstall\n-------\n\nWith [npm](https://npmjs.org)\n\n```\nnpm install get-function-name\n```\n\nUsage\n-----\n\nNode.js\n\n```js\nvar getFunctionName = require('get-function-name')\n\nvar foo = function() {}\nfunction bar() {}\n\ngetFunctionName(foo) // 'anonymous'\ngetFunctionName(bar) // 'bar'\ngetFunctionName('hello') // null\n```\n","maintainers":[{"name":"sorensen","email":"mail@beausorensen.com"}],"time":{"modified":"2022-06-18T07:48:24.933Z","created":"2015-03-04T18:25:57.098Z","0.0.1":"2015-03-04T18:25:57.098Z"},"homepage":"https://github.com/sorensen/get-function-name.js","keywords":["function","name"],"repository":{"type":"git","url":"git://github.com/sorensen/get-function-name.js.git"},"author":{"name":"Beau Sorensen","email":"mail@beausorensen.com","url":"http://github.com/sorensen"},"bugs":{"url":"https://github.com/sorensen/get-function-name.js/issues"},"license":"MIT","readmeFilename":"readme.md"}