{"_id":"fn-name","_rev":"21-1b689cb16c97d5d839e16d5a0b9215b7","name":"fn-name","description":"Get the name of a named function","dist-tags":{"latest":"4.0.0"},"versions":{"0.1.0":{"name":"fn-name","version":"0.1.0","description":"Get the name of a named function","keywords":["function","func","fn","name"],"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["function-name.js"],"main":"function-name.js","repository":{"type":"git","url":"git://github.com/sindresorhus/function-name"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"~1.14.0"},"engines":{"node":">=0.8.0"},"bugs":{"url":"https://github.com/sindresorhus/function-name/issues"},"homepage":"https://github.com/sindresorhus/function-name","_id":"fn-name@0.1.0","dist":{"shasum":"6198d9d6b91162fbc5fe4b1aa62bd7543ffd5cd5","tarball":"https://registry.npmjs.org/fn-name/-/fn-name-0.1.0.tgz","integrity":"sha512-ZWKJMEvnxMT2ey0esIdObkZggYltagMj7rBkR08W2urO94iyZ1pFXUEWkUJsTnl9vu15VMkeN+Scpd3X9fPHZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHeMRK1UkUJwQYqlqX0f31PFaE/1qM936HGu767A2EQTAiBPNI+hv8xibuIYgsKrIA8MVRzTGKRUKTlcma5ZDnEYYA=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"0.1.1":{"name":"fn-name","version":"0.1.1","description":"Get the name of a named function","keywords":["function","func","fn","name"],"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["function-name.js"],"main":"function-name.js","repository":{"type":"git","url":"git://github.com/sindresorhus/function-name"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.8.0"},"bugs":{"url":"https://github.com/sindresorhus/function-name/issues"},"homepage":"https://github.com/sindresorhus/function-name","_id":"fn-name@0.1.1","dist":{"shasum":"2fef303a4fe943b2d16aec687d8454d637c5edb6","tarball":"https://registry.npmjs.org/fn-name/-/fn-name-0.1.1.tgz","integrity":"sha512-SblGiWLPEOvtgCyRJk/dwqYfrKzeXVIk9qE3Vs7iwna+J8JyLQ+Jj/EYZAVpNOOZhE86IWIt136jUO+UXBZE0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2TCqhBUcHzJGheA+q4w0jN2WDJeawFT9qevWODcJkxgIhANAb/ZCwx2aHMbW8V1IP/QtbJwvVQWGJqMna1Zd2A+Ps"}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"0.2.0":{"name":"fn-name","version":"0.2.0","description":"Get the name of a named function","keywords":["function","func","fn","name"],"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["fn-name.js"],"main":"fn-name.js","repository":{"type":"git","url":"git://github.com/sindresorhus/fn-name"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/sindresorhus/fn-name/issues"},"homepage":"https://github.com/sindresorhus/fn-name","_id":"fn-name@0.2.0","dist":{"shasum":"fbe3ef571b0cdc4bf735444440d1c5f1a290cc37","tarball":"https://registry.npmjs.org/fn-name/-/fn-name-0.2.0.tgz","integrity":"sha512-jv0henHKDDc6rKaqPMCFoQp7qgNkUhK8YJvoIn0XvGphM1NsVE3hWZU49wD62JbBYQ/3vpwN4ZWxzXb8lJrsRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJuMUM1c6YFKpRIdAECw8m4M9bUq7aqfQOzgyOZMb8swIhAIcM9fX9Lg1NoGfwvd5XfLbzbNb70hP0N6gc5sNfOOsd"}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"1.0.1":{"name":"fn-name","version":"1.0.1","description":"Get the name of a named function","repository":{"type":"git","url":"git://github.com/sindresorhus/fn-name"},"keywords":["function","func","fn","name"],"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["index.js"],"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.10.0"},"gitHead":"f6250f426d7ebd7009ad5b9dbfef8af8cac666a2","bugs":{"url":"https://github.com/sindresorhus/fn-name/issues"},"homepage":"https://github.com/sindresorhus/fn-name","_id":"fn-name@1.0.1","_shasum":"de8d8a15388b33cbf2145782171f73770c6030f0","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"de8d8a15388b33cbf2145782171f73770c6030f0","tarball":"https://registry.npmjs.org/fn-name/-/fn-name-1.0.1.tgz","integrity":"sha512-RRGUv72KOw6s4z27jM6xiB9JZWOoEMQ/D39AOfNdgZmvNbYnrX/ImEGc3oQLnmQaJMyzAIbqLn0Avtzc02y+yA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGU39V91tHC+VFng4ZYNFw4RkgZevUu1LKqk0Z4ssQj3AiEA+QfkFZBl+2uEcY9Y0xRy8d3qHXlmkyby8Dqy+tIwcfM="}]},"directories":{}},"2.0.0":{"name":"fn-name","version":"2.0.0","description":"Get the name of a named function","repository":{"type":"git","url":"https://github.com/sindresorhus/fn-name"},"keywords":["function","func","fn","name"],"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["index.js"],"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.10.0"},"gitHead":"3c70d87c9c2f5acdee7cf51c8437378b9ce32906","bugs":{"url":"https://github.com/sindresorhus/fn-name/issues"},"homepage":"https://github.com/sindresorhus/fn-name","_id":"fn-name@2.0.0","_shasum":"f1bbc1090c8bc2ae9e08e3db08d6df0e035e8f3f","_from":".","_npmVersion":"2.1.5","_nodeVersion":"0.10.32","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"f1bbc1090c8bc2ae9e08e3db08d6df0e035e8f3f","tarball":"https://registry.npmjs.org/fn-name/-/fn-name-2.0.0.tgz","integrity":"sha512-dNAlZIztwtAq3Kx4Vqu8mF/XcphUgKfhdX5co8r/+k4Qbu6shFRIzf+HwAxSLGUsqrJUY4mS4Yu1pU8lDHAk0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1Nm+GtEKNeAXRwtiRDdZnesSQJorvaWgCfLZC8thQ1AIhAJjzjAV+1UaQxcufeDUt1cW3bVrEAy9F4fE9KM02Jcw+"}]},"directories":{}},"2.0.1":{"name":"fn-name","version":"2.0.1","description":"Get the name of a named function","repository":{"type":"git","url":"https://github.com/sindresorhus/fn-name"},"keywords":["function","func","fn","name"],"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["index.js"],"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"engines":{"node":">=0.10.0"},"gitHead":"4e7e99e94301e20cf9a919d01688848e0b9d09ef","bugs":{"url":"https://github.com/sindresorhus/fn-name/issues"},"homepage":"https://github.com/sindresorhus/fn-name","_id":"fn-name@2.0.1","_shasum":"5214d7537a4d06a4a301c0cc262feb84188002e7","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"5214d7537a4d06a4a301c0cc262feb84188002e7","tarball":"https://registry.npmjs.org/fn-name/-/fn-name-2.0.1.tgz","integrity":"sha512-oIDB1rXf3BUnn00bh2jVM0byuqr94rBh6g7ZfdKcbmp1we2GQtPzKdloyvBXHs+q3fvxB8EqX5ecFba3RwCSjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID4cROkLw7UqQ57Y/oiXm6ODtP+Yf/K4Nlz2cw4z2XYyAiEA58EnAWUZE5ZL8l4eJHpx48p2iQvtDN/RMUbmvDayY4c="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"3.0.0":{"name":"fn-name","version":"3.0.0","description":"Get the name of a named function","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/fn-name.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava"},"keywords":["function","func","fn","name"],"devDependencies":{"ava":"^2.3.0","xo":"^0.24.0"},"gitHead":"b21aef2631b9e32d3173e9181e11c5d841a4ad15","bugs":{"url":"https://github.com/sindresorhus/fn-name/issues"},"homepage":"https://github.com/sindresorhus/fn-name#readme","_id":"fn-name@3.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-eNMNr5exLoavuAMhIUVsOKF79SWd/zG104ef6sxBTSw+cZc6BXdQXDvYcGvp0VbxVVSp1XDUNoz7mg1xMtSznA==","shasum":"0596707f635929634d791f452309ab41558e3c5c","tarball":"https://registry.npmjs.org/fn-name/-/fn-name-3.0.0.tgz","fileCount":4,"unpackedSize":2835,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdd3fECRA9TVsSAnZWagAAuskP/24mZr0ESJn2Io0t1YnK\nUbPir0GAYMqFjKPmacCC8qtQbWm2JaqjpyM8HjN6JtwAom2sNuJpdxgGAWMt\nYumIE1sSJqxYXAxTntSlrAKlTfTWxEdkcoqpQvSJwUkeggmJAqvJvPqDP5hH\nPz9M4lx5y+9buw+lKCQ23WKjxdoyq9mKL8s6Fyszp1q8jHaQKKslobiR6D9Q\npxaWcj6GyqThS10gV9gG+adjU7BlNwopIblDCzM5eTM6pTY0+a6iRyGF1r9f\nkHCw1L4ipVbbB3lwJEvlM4ycZNt/kiAStV6/JbRm+xE1X786tfO+W3n3dXR0\nJyhc8Twnp6Pr0++rcf+9qS2B67XCiGMBuhUwjqivxJpUpeLPzYfOXEZIVvz4\nM3vSOPxJXMYe2cgmbYGRJOQNIpue5z/Ck7CEw7MKNrgXYKvvlc9KBc2l1Ktp\nQgs34DIjUKHvRcArW6W9UjggLofgmc29A3Q2oqaux6t7NZcnBFBWKp6uxDec\n85dPv83WzM1PVQ8Bg/GGJDpP3E1nYf0tkU11NetMg7NTw496XPDHvvpsq+09\ntfqXWojMhCiBHiO04yBqJp5VG84UzQSXk+oSbbGD0po/D01afse0ZcxUM6HU\ntBqMpTnSUDqCoASz/cBufu7u06ldSl9Qp0BQpv5ZpkKKA5cikDbxcMJn6gIV\nYj1T\r\n=QXkW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpX8DMy9y1acPC9hyWfQrTD49jZChMWI655Yu/KiEUdgIgYxohNKqvw1HJEOvVSxdUn6NKXWE5y7yTl0YfqVVZtOo="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fn-name_3.0.0_1568110531428_0.9537769241393934"},"_hasShrinkwrap":false},"4.0.0":{"name":"fn-name","version":"4.0.0","description":"Get the name of a named function","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/fn-name.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava"},"keywords":["function","func","fn","name"],"devDependencies":{"ava":"^3.15.0","xo":"^0.38.2"},"gitHead":"82e609d528090a8c581d3cab991744d62101aac1","bugs":{"url":"https://github.com/sindresorhus/fn-name/issues"},"homepage":"https://github.com/sindresorhus/fn-name#readme","_id":"fn-name@4.0.0","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-VU5XlXbcEgKhr3uI9I8JcWaTFiGKUfenmF3qhbBtnMF3EuJOE+4L2RUwsm9GZ+r0j5TEHO+3oR9ypVq9wy6VEQ==","shasum":"759c783eecfd063445fbe07665dc9f5e3cef6c0c","tarball":"https://registry.npmjs.org/fn-name/-/fn-name-4.0.0.tgz","fileCount":4,"unpackedSize":2871,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbgSmCRA9TVsSAnZWagAAYWEP/RrCW3lDqQLDCJbmmWFE\nTbDans50ivMM36/p1Lji1AGDTRDIU9jgu5G4rcx8/yGjuEdhXedHDIFnbne6\nnUAgHxn+DaYljmEs6cKOGS7ILGiiVkhUWoYato/FTxXZHlptkUqiItDw/L70\nCMnwI7j/adMm8n+hzz/CXKIUxu95Pph6EPMJbBGNKJr/SkD3AwYCVNZxMipP\nvJQCmzg86Wylir+IDe4bFb9SGBjFC5Cfpo6M7qjM5dAhtFPQGhpNwaClD57e\nrkltm7q5oVdPOIbme5+Pk1dlwuJ2iyZEPTozLd07Yr+0DdTQC6sQEViDC0nj\nf0miqBff2TGeKFPzrScyAI4jwQtHD70QuhwjZ0ZP+Ogc6H43lGmHIEStF7PF\numEr4BP68ukp2g9kQ1/r60p3EWFI+ClF41e77ginClCzivGKj7fO7d0Wr+o4\n9zdxvSgwaNqGIiH0I2Va7ner4KkmEfGwKUtZFBqfc/lzksRiPhZrFymivOT5\ngAzcjaBGkopHLuCKOV/HX7crNn4/hs6a4baP/anJRakFRRDIrL6GGvW+bvza\nNB89JSpDMQo2v106V7HQ+j9PkceQJk1+b0qe7CexNAG9Oj64dwXDnOxpxZlE\n6HlXsaOX3BXXFQ6F2VzjqFRp+uAnL6PKIsp3jrnhvGmejIW5e5kvTDij9c4h\n3FMF\r\n=D3YR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAav2H3O/HlS0F4VoLIhp3ROGJPIvev+KYiFtzMYEhKGAiAExv1h3xXvCCu04jwQN2UcUE+ToT704S6Kt7yxiBVsBw=="}]},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fn-name_4.0.0_1617822885629_0.9069854880454005"},"_hasShrinkwrap":false}},"readme":"# fn-name\n\n> Get the name of a named function\n\nThere is a [`name`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/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.\n\n## Install\n\n```\n$ npm install fn-name\n```\n\n## Usage\n\n```js\nimport functionName from 'fn-name';\n\nfunctionName(function foo() {});\n//=> 'foo'\n```\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-fn-name?utm_source=npm-fn-name&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2022-06-18T02:39:22.039Z","created":"2013-12-01T00:36:47.452Z","0.1.0":"2013-12-01T00:36:50.944Z","0.1.1":"2014-04-29T19:29:44.218Z","0.2.0":"2014-04-29T19:40:57.589Z","1.0.0":"2014-08-13T09:58:44.185Z","1.0.1":"2014-08-13T10:02:25.676Z","2.0.0":"2014-11-27T10:52:43.282Z","2.0.1":"2015-09-25T08:15:27.758Z","3.0.0":"2019-09-10T10:15:31.516Z","4.0.0":"2021-04-07T19:14:45.792Z"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/fn-name.git"},"homepage":"https://github.com/sindresorhus/fn-name#readme","keywords":["function","func","fn","name"],"bugs":{"url":"https://github.com/sindresorhus/fn-name/issues"},"license":"MIT","readmeFilename":"readme.md"}