{"_id":"winston-express","_rev":"1927334","name":"winston-express","description":"Express middleware to let you use winston from the browser.","dist-tags":{"latest":"0.1.1"},"maintainers":[{"name":"grobot","email":"gregory.j.allan@gmail.com"},{"name":"regality","email":"regality@gmail.com"}],"time":{"modified":"2021-12-09T13:52:00.000Z","created":"2012-03-16T21:32:29.466Z","0.1.1":"2015-04-08T16:46:22.527Z","0.1.0":"2014-02-28T19:23:24.152Z","0.0.2":"2012-03-31T23:22:18.292Z","0.0.1":"2012-03-16T21:32:29.466Z"},"users":{"samuelrn":true,"marshallswain":true,"sasquatch":true,"bruinebeer":true,"moimikey":true},"author":{"name":"Adam Blackburn","email":"adam@ifit.com"},"repository":{"type":"git","url":"git://github.com/ifit/winston-express.git"},"versions":{"0.1.1":{"name":"winston-express","description":"Express middleware to let you use winston from the browser.","author":{"name":"Adam Blackburn","email":"adam@ifit.com"},"version":"0.1.1","main":"index.js","keywords":["winston","logging","client-log"],"contributors":{"name":"Kersten Burkhardt <burkhardt@mhp-net.de>"},"dependencies":{"uglify-js":"~2.x"},"repository":{"type":"git","url":"git://github.com/ifit/winston-express.git"},"homepage":"https://github.com/ifit/winston-express","bugs":{"url":"https://github.com/ifit/winston-express/issues"},"_id":"winston-express@0.1.1","dist":{"shasum":"2e354b6d394b6615974f3ef3a450cb50ad0f9d81","size":2486,"noattachment":false,"key":"/winston-express/-/winston-express-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/winston-express/download/winston-express-0.1.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"grobot","email":"gregory.j.allan@gmail.com"},"maintainers":[{"name":"grobot","email":"gregory.j.allan@gmail.com"},{"name":"regality","email":"regality@gmail.com"}],"directories":{},"publish_time":1428511582527,"_cnpm_publish_time":1428511582527,"_hasShrinkwrap":false},"0.1.0":{"name":"winston-express","description":"Express middleware to let you use winston from the browser.","author":{"name":"Adam Blackburn","email":"adam@ifit.com"},"version":"0.1.0","main":"index.js","keywords":["winston","logging","client-log"],"contributors":{"name":"Kersten Burkhardt <burkhardt@mhp-net.de>"},"dependencies":{"uglify-js":"~2.x"},"repository":{"type":"git","url":"git://github.com/ifit/winston-express.git"},"homepage":"https://github.com/ifit/winston-express","_id":"winston-express@0.1.0","dist":{"shasum":"e8028b4bf599895db962cbf901e2eb48c48a3a62","size":2492,"noattachment":false,"key":"/winston-express/-/winston-express-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/winston-express/download/winston-express-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"grobot","email":"gregory.j.allan@gmail.com"},"maintainers":[{"name":"grobot","email":"gregory.j.allan@gmail.com"},{"name":"regality","email":"regality@gmail.com"}],"directories":{},"publish_time":1393615404152,"_cnpm_publish_time":1393615404152,"_hasShrinkwrap":false},"0.0.2":{"name":"winston-express","description":"Express middleware to let you use winston from the browser.","author":{"name":"Adam Blackburn","email":"adam@ifit.com"},"version":"0.0.2","main":"index.js","keywords":["winston","logging","client-log"],"dependencies":{"uglify-js":"*"},"repository":{"type":"git","url":"git://github.com/ifit/winston-express.git"},"homepage":"https://github.com/ifit/winston-express","_npmUser":{"name":"regality","email":"regality@gmail.com"},"_id":"winston-express@0.0.2","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.12","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"4138db429ff9232eb37b0d2606c025e24fbfff7a","size":2155,"noattachment":false,"key":"/winston-express/-/winston-express-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/winston-express/download/winston-express-0.0.2.tgz"},"maintainers":[{"name":"grobot","email":"gregory.j.allan@gmail.com"},{"name":"regality","email":"regality@gmail.com"}],"directories":{},"publish_time":1333236138292,"_cnpm_publish_time":1333236138292,"_hasShrinkwrap":false},"0.0.1":{"name":"winston-express","description":"Express middleware to let you use winston from the browser.","author":{"name":"Adam Blackburn","email":"adam@ifit.com"},"version":"0.0.1","main":"index.js","keywords":["winston","logging","client-log"],"repository":{"type":"git","url":"git://github.com/ifit/winston-express.git"},"homepage":"https://github.com/ifit/winston-express","_npmUser":{"name":"regality","email":"regality@gmail.com"},"_id":"winston-express@0.0.1","dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.4","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"b503da0d0ff5f5b609777e5447798aa41d5a6507","size":2231,"noattachment":false,"key":"/winston-express/-/winston-express-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/winston-express/download/winston-express-0.0.1.tgz"},"maintainers":[{"name":"grobot","email":"gregory.j.allan@gmail.com"},{"name":"regality","email":"regality@gmail.com"}],"directories":{},"publish_time":1331933549466,"_cnpm_publish_time":1331933549466,"_hasShrinkwrap":false}},"readme":"\n### Winston Express\n\nWinston Express is a helper for express, that allows you to log to\nwinston from the browser. \n\nIt is simple to use.\n\n```javascript\nvar winstonExpress = require('winston-express')\n  , winston = require('winston')\n  , express = require('express')\n  , app = express.createServer();\n\n// winstonExpress takes two parameters,\n// an express app, and a winston logger instance.\nwinstonExpress(app, winston);\n```\nOnly call `winstonExpress()` once, or bad things could happen\n\nAdd the following script tag to your html:\n\n    <script type=\"text/javascript\" src=\"/winston/client.js\"></script>\n\nWinston Express requires jQuery to be included before itself in the\nbrowser.\n\nFrom there, you are ready to go! Anywhere in your browser side code you\ncan use winston:\n\n```javascript\nwinston.log('info', 'This is informational...');\nwinston.info('This is more info');\nwinston.myCustomLevel('winston is aware of error levels you define');\nwinston.anotherCustomLevel('but only if you define them before calling winstonExpress()');\nwinston.log('debug', 'meta data is also allowed', {this: 'is', meta: 'data'});\n```\n","_attachments":{},"homepage":"https://github.com/ifit/winston-express","bugs":{"url":"https://github.com/ifit/winston-express/issues"}}