{"_id":"log-prefix","_rev":"10-50af3fa80d632c8c0bb189c4e0f61aa3","name":"log-prefix","description":"Prefix calls to console.log, console.warn, etc with whatever you'd like","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.0":{"name":"log-prefix","description":"Prefix calls to console.log, console.warn, etc with whatever you'd like","version":"0.0.0","author":{"name":"Dave Eddy","email":"dave@daveeddy.com","url":"http://www.daveeddy.com"},"contributors":[],"main":"./log-prefix.js","repository":{"type":"git","url":"git://github.com/bahamas10/node-log-prefix.git"},"scripts":{"test":"for f in tests/*; do echo \"$f\"; node \"$f\"; done; echo 'passed!'; exit 0"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"keywords":["console","console.log","log","logger","timestamp","prefix"],"readme":"log-prefix\n==========\n\nPrefix calls to console.log, console.warn, etc with whatever you'd like\n\nExample\n-------\n\n``` js\nconsole.log('before log-prefix');\nrequire('log-prefix')('==> %s <==');\nconsole.log('after log-prefix');\n```\n\nyields\n\n```\nbefore log-prefix\n==> after log-prefix <==\n```\n\nYou can specify a function instead of a string.  The function must return a\nstring to be used (good for dynamic values).\n\n``` js\nrequire('log-prefix')(function() { return '[' + Date.now() + '] %s' });\nconsole.log('hello %s', 'world');\n```\n\nyields\n\n```\n[1371582989993] hello world\n```\n\nInstall\n------\n\n    npm install log-prefix\n\nTests\n-----\n\n    npm test\n\nLicense\n-------\n\nMIT License\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/bahamas10/node-log-prefix/issues"},"_id":"log-prefix@0.0.0","dist":{"shasum":"2fc61d7c0e519f8f9f86adca7d53a0a7a7571770","tarball":"https://registry.npmjs.org/log-prefix/-/log-prefix-0.0.0.tgz","integrity":"sha512-3u3BRIkgZzCha3ffnogOkZi1Ab/KZkMEBm9EGMhqyFEXuolIJCbsZJEp8tTTU2YIGICOdmVXVMocamMyyWW+sw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFb5cmef3Uccz985jINaomtgl0t+Dw6qSPeQAo0AqrMgAiEA0SNstPQn9vq18fl8VQYdgZlBnFSnXmiUgLRUAQ/2Af4="}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"bahamas10","email":"dave@daveeddy.com"},"maintainers":[{"name":"bahamas10","email":"dave@daveeddy.com"}],"directories":{}},"0.1.0":{"name":"log-prefix","description":"Prefix calls to console.log, console.warn, etc with whatever you'd like","version":"0.1.0","author":{"name":"Dave Eddy","email":"dave@daveeddy.com","url":"http://www.daveeddy.com"},"contributors":[],"main":"./log-prefix.js","repository":{"type":"git","url":"git://github.com/bahamas10/node-log-prefix.git"},"scripts":{"test":"for f in tests/*; do echo \"$f\"; node \"$f\"; done; echo 'passed!'; exit 0"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"keywords":["console","console.log","log","logger","timestamp","prefix"],"gitHead":"b2bec1667cb38a407a151400a850f5364d946e6a","bugs":{"url":"https://github.com/bahamas10/node-log-prefix/issues"},"homepage":"https://github.com/bahamas10/node-log-prefix#readme","_id":"log-prefix@0.1.0","_npmVersion":"6.4.0","_nodeVersion":"8.9.3","_npmUser":{"name":"bahamas10","email":"dave@daveeddy.com"},"dist":{"integrity":"sha512-u6PEBel/4ecD535O31cyB35VL+ihgL+8XFgMwYCKZpQBcWoh0myyab2+SOB17qYBvCSjuEvyQSWWBZydS6IC8w==","shasum":"8f4785a38bc759ff35010cfacdfea01398a3c82f","tarball":"https://registry.npmjs.org/log-prefix/-/log-prefix-0.1.0.tgz","fileCount":5,"unpackedSize":2307,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhb0cCRA9TVsSAnZWagAAlzgP/00dgikc6YJIBndEyqX/\nA47aqpWGm6HgPFFkAEQpoEd3AzwQObnrvV/91IerlDqkv+3hHe4utWA2Ni85\nRTiyq807noodRJj1uJax5LNO6wx0yOaMBUcRuhkI7jLaJG2cT0ZqblGZI5S6\nwfHbf4DbIrEQMjqkej7tbdf0nt35Uv83xcS0qJdmwuexxPuL8hw5iBrNrDrG\nMfPy3MucDGhuGhgVvurs/hkTKf/KtlGWG3lzgZkZEjdCSIjQpXlHag8oR5uX\nzZccTZbRuQ9JjEDl+SCA0tlgsy+3lAlOfQndK9QBM4dJdMB4FwARcZzVOtI3\nfWpSkiLw/sOyeZrHg9R3x6NasBD4SViwhX3oOHeALBtzhm7M8mZUY5r1/Jor\niLNwp3E0lyABbpOozgvardYIa7EncdjE7ycS/dLRCULYZ9Ccazg16sttltgV\nvMq0pUqShVEEKLZdGGl3aqxYVKM+WWeVzqEUzXs2GfdGX4Unkz88xUuKAmqo\nlSQsRUWidOhSi+nXRAjAayfoULziQLhEjTLg8LXpsjz0vpj5QVmInWEPL2Q+\nJEJrizfc3qLBeb/lHjzJPwUKunaa6/KOfbB93jhIJekVpiQ9ywlJ0VMYVbpH\nGQHt3cAY07pCowCWCehChUP4CcfyygfhjshgVHOdzmMXNfeyFDYj3vg7f5w8\nzHUT\r\n=OBl2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICyLCn+IPxM0urYpEjyb3epyOq8tyxU7am+1t5DzwUctAiEApnc5HryrKnrHH07AsX6BeorI8nh9C0rs12EA63Z3mn0="}]},"maintainers":[{"name":"bahamas10","email":"dave@daveeddy.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-prefix_0.1.0_1535491356183_0.6455886949866725"},"_hasShrinkwrap":false},"0.1.1":{"name":"log-prefix","description":"Prefix calls to console.log, console.warn, etc with whatever you'd like","version":"0.1.1","author":{"name":"Dave Eddy","email":"dave@daveeddy.com","url":"http://www.daveeddy.com"},"contributors":[],"main":"./log-prefix.js","repository":{"type":"git","url":"git://github.com/bahamas10/node-log-prefix.git"},"scripts":{"test":"for f in tests/*; do echo \"$f\"; node \"$f\"; done; echo 'passed!'; exit 0"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"keywords":["console","console.log","log","logger","timestamp","prefix"],"gitHead":"817131e8459444b9f6d0a7f0f4edaae8b550eeed","bugs":{"url":"https://github.com/bahamas10/node-log-prefix/issues"},"homepage":"https://github.com/bahamas10/node-log-prefix#readme","_id":"log-prefix@0.1.1","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"bahamas10","email":"dave@daveeddy.com"},"dist":{"integrity":"sha512-aP1Lst8OCdZKATqzXDN0JBissNVZuiKLyo6hOXDBxaQ1jHDsaxh2J1i5Pp0zMy6ayTKDWfUlLMXyLaQe1PJ48g==","shasum":"3ec492138c8044c9f9732298492dca87850cac90","tarball":"https://registry.npmjs.org/log-prefix/-/log-prefix-0.1.1.tgz","fileCount":5,"unpackedSize":2324,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbl/5RCRA9TVsSAnZWagAAGSgP/ifP3r9DOuSe5rdsdV8g\nQ8+E5ipG7MdTcDGXCCMVdZsqYw5hYl2pf0vh2wFKmSXlCNOIZnkR6PKg7oV7\nS+afOYO8E6rtu3k40HHB4WJNPDJtTnv5vkRxjvYgcAn3m0HA84myHIsaqBV5\nT12QdWfydUs8mTcFl3sqkx88HO3X0THZavno5Ftkr//wjebnIw1nbcAI1+Kq\nrRNuyk6lBlyotzniSXJD56z1DjXZXuTlBNJDS33yronQvp88EHWdfm931hMA\n5nsoR7WPgsplZEB4K5Z97uWgEaNfZ53U9vCRSjr1nNht7GgnmmHk/L908yV3\nXoTk0R4lPg3L0ev3jJm5c22x4FCLHrFUxnf/969vnUSrjvLl1q5XwxUfRzgv\nWOAJeKePQoy1YY5TazPdx+1i0s+ScMUCN5wMRTcbiBnrRggR8tlFuaWb5lrP\n3cWxs/0Smg3dqi+JHoA018408XEOE8oTB70GP46gppCAhUtyZCWpT1iSM+Uw\neoGUIqMqgMblydra/irXvg7ughujpz/bV/RDJwn8/jH2mBwD69ofXypXpdIE\nNKe7YxNeuL7JFU9AYAxN5tfwWsDKt4BP90N5bFbFwtdFghx4LQ61lTQAh5jf\nCmd/3X8DnkGMOX5XMfNQ7jRZ9rl6j7553TmbbcC2M6UhdO0ca8dXYseLI1Lf\nU1VM\r\n=ZP5S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB8TTHYT7T3JSWfAAwc6RQwfJ+OIzNHZkrQ0/FlX4cfyAiEA4zZxD3ak4aUAIroRVE778i2ju62ulrxAWSJbpg+75p8="}]},"maintainers":[{"name":"bahamas10","email":"dave@daveeddy.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-prefix_0.1.1_1536687696623_0.5709571550448254"},"_hasShrinkwrap":false}},"readme":"log-prefix\n==========\n\nPrefix calls to console.log, console.warn, etc with whatever you'd like\n\nExample\n-------\n\n``` js\nconsole.log('before log-prefix');\nrequire('log-prefix')('==> %s <==');\nconsole.log('after log-prefix');\n```\n\nyields\n\n```\nbefore log-prefix\n==> after log-prefix <==\n```\n\nYou can specify a function instead of a string.  The function must return a\nstring to be used (good for dynamic values).\n\n``` js\nrequire('log-prefix')(function() { return '[' + Date.now() + '] %s' });\nconsole.log('hello %s', 'world');\n```\n\nyields\n\n```\n[1371582989993] hello world\n```\n\nInstall\n------\n\n    npm install log-prefix\n\nTests\n-----\n\n    npm test\n\nLicense\n-------\n\nMIT License\n","maintainers":[{"name":"bahamas10","email":"dave@daveeddy.com"}],"time":{"modified":"2022-06-19T13:44:48.575Z","created":"2013-06-18T19:19:10.724Z","0.0.0":"2013-06-18T19:19:11.815Z","0.1.0":"2018-08-28T21:22:36.342Z","0.1.1":"2018-09-11T17:41:36.764Z"},"author":{"name":"Dave Eddy","email":"dave@daveeddy.com","url":"http://www.daveeddy.com"},"repository":{"type":"git","url":"git://github.com/bahamas10/node-log-prefix.git"},"users":{"magemagic":true,"invelo":true},"homepage":"https://github.com/bahamas10/node-log-prefix#readme","keywords":["console","console.log","log","logger","timestamp","prefix"],"contributors":[],"bugs":{"url":"https://github.com/bahamas10/node-log-prefix/issues"},"readmeFilename":"README.md"}