{"_id":"function-name","_rev":"14-5de2541495c5fe876ce16d579c906dc8","name":"function-name","description":"Set the \"name\" property of `function` objects","dist-tags":{"latest":"2.0.0","native":"1.0.0"},"versions":{"0.0.1":{"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://tootallnate.net"},"name":"function-name","description":"Set the \"name\" property of `function` objects","keywords":["function","set","name"],"version":"0.0.1","repository":{"type":"git","url":"git://github.com/TooTallNate/node-function-name.git"},"main":"index.js","engines":{"node":"*"},"dependencies":{"bindings":"*"},"scripts":{"install":"node-gyp rebuild"},"gypfile":true,"_id":"function-name@0.0.1","dist":{"shasum":"d18683470606e801cef8aa34308ce7339446fd92","tarball":"https://registry.npmjs.org/function-name/-/function-name-0.0.1.tgz","integrity":"sha512-6NU5C+3o6eQMenU1D/un9tIMuuKAyl9ifg/pjcbNnJh6u0QKOcLON7Rap1qXw+k9SGuUGcFg2r2I0UO0VWll6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAxK9yjlMDUYx4Z7q0aO//Dw/yBXXlsVqHtvP0hyFkUjAiEA+f4tGne2ZTzOL4KZstpZQA+M0IVO/bklFpW475fr8dI="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"directories":{}},"0.0.2":{"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://tootallnate.net"},"name":"function-name","description":"Set the \"name\" property of `function` objects","keywords":["function","set","name"],"version":"0.0.2","repository":{"type":"git","url":"git://github.com/TooTallNate/node-function-name.git"},"main":"index.js","engines":{"node":"*"},"dependencies":{"bindings":"*","nan":"~0.8.0"},"scripts":{"install":"node-gyp rebuild"},"gypfile":true,"bugs":{"url":"https://github.com/TooTallNate/node-function-name/issues"},"homepage":"https://github.com/TooTallNate/node-function-name","_id":"function-name@0.0.2","dist":{"shasum":"6a371ea9483a6a9d7e30e59cd83aa2882d88ee6c","tarball":"https://registry.npmjs.org/function-name/-/function-name-0.0.2.tgz","integrity":"sha512-gCfs+2dJR8XEXiF0w4tbHTcoo9T+JzA5lk/Txj2yJ1mzqXvON1LJanfCX/RgXK3QP/U92dGWnirqDqq4p660RA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAcRGOB+nxsxYwZN6HFMZ71UlCfZsAUqNSvBhEbHcdNgIhAND3Sdj5JyGNCpGlRDbfTgt9r/VmsAivDKHFjiAHoKDs"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"directories":{}},"0.0.3":{"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://tootallnate.net"},"name":"function-name","description":"Set the \"name\" property of `function` objects","keywords":["function","set","name"],"version":"0.0.3","repository":{"type":"git","url":"git://github.com/TooTallNate/node-function-name.git"},"main":"index.js","engines":{"node":"*"},"dependencies":{"bindings":"*","nan":"~1.0.0"},"scripts":{"install":"node-gyp rebuild"},"gypfile":true,"bugs":{"url":"https://github.com/TooTallNate/node-function-name/issues"},"homepage":"https://github.com/TooTallNate/node-function-name","_id":"function-name@0.0.3","_shasum":"45c6ee7949008508d4d4e8c80e74367b161dfa21","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"dist":{"shasum":"45c6ee7949008508d4d4e8c80e74367b161dfa21","tarball":"https://registry.npmjs.org/function-name/-/function-name-0.0.3.tgz","integrity":"sha512-TaNdFTpbm5WJ7aO4uf1EM2DHXB0bchzaIYFkTHaZDGKHwajCb6YS5HVPBA/01uDGuWugR5bMUZodT1+NiVXGIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKHvamKAVdDK7Z4ral/sNW6KK6JUT+OjPpnHuv0lL4FQIgWfumQTLND93WE6ijGFc5l6z0W+7W5+Ij9Rq1nXbNzfc="}]},"directories":{}},"1.0.0":{"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://tootallnate.net"},"name":"function-name","description":"Set the \"name\" property of `function` objects","keywords":["function","set","name"],"version":"1.0.0","license":"MIT","repository":{"type":"git","url":"git://github.com/TooTallNate/node-function-name.git"},"main":"index.js","dependencies":{"bindings":"^1.2.1","nan":"2"},"scripts":{"install":"node-gyp rebuild"},"gypfile":true,"gitHead":"908060ed05d9d849522e137b56d2b01fadf78a6c","bugs":{"url":"https://github.com/TooTallNate/node-function-name/issues"},"homepage":"https://github.com/TooTallNate/node-function-name#readme","_id":"function-name@1.0.0","_shasum":"afee183fd7a1dc9222d5f65a7bf86da5835df745","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"dist":{"shasum":"afee183fd7a1dc9222d5f65a7bf86da5835df745","tarball":"https://registry.npmjs.org/function-name/-/function-name-1.0.0.tgz","integrity":"sha512-qSgVuDCGwriD2teLc4OawBe0TOhtYntUXx1ghqJIVzlPpsyIABIwk3jtYlzeDng7ii1+VMzz+Gnk+FLWKrVNsw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBiMcLGiTfaGj3tuabaWWbUopTpcVXtFt7dkFj+N34WeAiBTlQN0oXAKopLyDDSXM2JGUdUiQthmb5JSzmldg5T+cg=="}]},"directories":{}},"2.0.0":{"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://tootallnate.net"},"name":"function-name","description":"Set the \"name\" property of `function` objects","keywords":["function","set","name"],"version":"2.0.0","license":"MIT","repository":{"type":"git","url":"git://github.com/TooTallNate/node-function-name.git"},"main":"index.js","scripts":{"test":"node test/test"},"engines":{"node":">=3.0.0"},"gitHead":"7faf0d95c18be0066f417f569cb5827212502be2","bugs":{"url":"https://github.com/TooTallNate/node-function-name/issues"},"homepage":"https://github.com/TooTallNate/node-function-name#readme","_id":"function-name@2.0.0","_shasum":"5f5e52cb3eef22e4e753834537f5f83d3b8b0fce","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"dist":{"shasum":"5f5e52cb3eef22e4e753834537f5f83d3b8b0fce","tarball":"https://registry.npmjs.org/function-name/-/function-name-2.0.0.tgz","integrity":"sha512-u3Br8VSRdXvwMI0116+poY5+8bmN8J7ryb5xWul5TeTMIDggQSe/RDeVVZDXaFxlr8dLC3rwRUZpR5Sqfg0TXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaBEKlhU+imo2HF/6bUUtFfbHIHLA/PtbraMTjGc4pkQIhAIT3q36XL9uYqzCg/HipUQEvyqbMX/wv3VAg7Ms5P4I0"}]},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/function-name-2.0.0.tgz_1490466798562_0.7792537237983197"}}},"readme":"node-function-name\n==================\n### Set the \"name\" property of `Function` objects\n[![Build Status](https://travis-ci.org/TooTallNate/node-function-name.svg?branch=master)](http://travis-ci.org/TooTallNate/node-function-name)\n\nVery simple module. Sets the non-writable `name` property of `Function`\nobjects. In older versions of node, this functionality is exposed internally to\nV8, but not exposed to JavaScript, so a  native module is required. In newer\nversions of node, function names can be redefined with `Object.defineProperty`,\nwhich this module uses.\n\nNote that unfortunately _only_ String values are allowed.\n\n> **NOTE: For users of node prior to `iojs@3.0.0`**, you'll need to use an\nearlier version of this module, `function-name@1`, which provides a C++\nimplementation.\n\nInstallation\n------------\n\nInstall with `npm`:\n\n``` bash\n$ npm install function-name\n```\n\n\nExample\n-------\n\n``` js\nvar set = require('function-name');\n\nfunction test () {\n  throw new Error('blah');\n}\n\nconsole.log(test.name);\n// \"test\"\n\n// change the \"name\" property to 'foo'\nset(test, 'foo');\n\nconsole.log(test.name);\n// \"foo\"\n\n// spaces, and even usually illegal UTF8 chars, are allowed\nset(test, '   ☃   ');\n\nconsole.log(test.name);\n// \"   ☃   \"\n\n// the newly set \"name\" also appears in stack traces!\ntest();\n// Error: blah\n//     at    ☃    (/Users/nrajlich/node-function-name/t.js:4:9)\n//     at Object.<anonymous> (/Users/nrajlich/node-function-name/t.js:23:1)\n//     at Module._compile (module.js:449:26)\n//     at Object.Module._extensions..js (module.js:467:10)\n//     at Module.load (module.js:356:32)\n//     at Function.Module._load (module.js:312:12)\n//     at Module.runMain (module.js:492:10)\n//     at process.startup.processNextTick.process._tickCallback (node.js:244:9)\n```\n\nThat's it!\n","maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"time":{"modified":"2022-06-18T04:15:12.989Z","created":"2012-10-03T01:09:49.041Z","0.0.1":"2012-10-03T01:09:51.322Z","0.0.2":"2014-02-09T02:19:45.863Z","0.0.3":"2014-05-12T01:47:12.062Z","1.0.0":"2015-12-02T00:04:15.021Z","2.0.0":"2017-03-25T18:33:18.829Z"},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://tootallnate.net"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-function-name.git"},"readmeFilename":"README.md","homepage":"https://github.com/TooTallNate/node-function-name#readme","keywords":["function","set","name"],"bugs":{"url":"https://github.com/TooTallNate/node-function-name/issues"},"license":"MIT"}