{"_id":"winston-redis","_rev":"18-3c769d0b98bd614ec09e0c0cce6a688e","name":"winston-redis","description":"A fixed-length Redis transport for winston","dist-tags":{"latest":"3.1.0","beta":"3.0.1"},"versions":{"0.1.0":{"name":"winston-redis","description":"A fixed-length Redis transport for winston","version":"0.1.0","author":{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},"repository":{"type":"git","url":"git://github.com/indexzero/winston-redis.git"},"keywords":["logging","sysadmin","tools","winston","redis"],"dependencies":{"redis":"0.6.x"},"devDependencies":{"winston":"0.4.x","vows":"0.5.x"},"main":"./lib/winston-redis","scripts":{"test":"vows test/*-test.js --spec"},"engines":{"node":">= 0.4.0"},"_npmJsonOpts":{"file":"/Users/Charlie/.npm/winston-redis/0.1.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"winston-redis@0.1.0","_engineSupported":true,"_npmVersion":"1.0.23","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"0ac428fb5a7a278c8f01390b36a6a937efc479e8","tarball":"https://registry.npmjs.org/winston-redis/-/winston-redis-0.1.0.tgz","integrity":"sha512-1OlSgOUs6/+1QYbAc7TVEObiRj5eh+CS+NT5tLZ8sjnpHQKTrDLQ8Qe7ie1UM3ltYj2266JEBOG8RnluiRLlLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDx+Ug6ICUVcNWcP9340bh1tnlGMCmc03HZQBlRDH5kNAIhALvLwqYbZT57/L7qXPrpN+h55kvrgySkqULWspXfnJW4"}]},"maintainers":[{"name":"indexzero","email":"charlie.robbins@gmail.com"}],"directories":{}},"0.2.0":{"name":"winston-redis","description":"A fixed-length Redis transport for winston","version":"0.2.0","author":{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},"repository":{"type":"git","url":"git://github.com/indexzero/winston-redis.git"},"keywords":["logging","sysadmin","tools","winston","redis"],"dependencies":{"redis":"0.6.x"},"devDependencies":{"winston":"0.4.x","vows":"0.5.x"},"main":"./lib/winston-redis","scripts":{"test":"vows test/*-test.js --spec"},"engines":{"node":">= 0.4.0"},"_npmUser":{"name":"chjj","email":"chjjeffrey@gmail.com"},"_id":"winston-redis@0.2.0","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.18","_defaultsLoaded":true,"dist":{"shasum":"22d267877cceed4d4abb84b77ab0ea4782fd92d4","tarball":"https://registry.npmjs.org/winston-redis/-/winston-redis-0.2.0.tgz","integrity":"sha512-gHT0Ik0Fa1So4N6TYjA44aljEyJeG4BYdQkuadr6IwMC46Wo5ypz8MgVqCGIZNIXzGLe/5E0hBmg7bMpjR6Vlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEGZgMx5s2/mVXku1QNI4LkN/UMKDAp+nqFfyO0bfO90AiBoy8aN823LVp2SFk/LMYlO1ABqdN2Cv2xju8A5Mcm6qQ=="}]},"maintainers":[{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"chjj","email":"chjjeffrey@gmail.com"}],"directories":{}},"0.2.1":{"name":"winston-redis","description":"A fixed-length Redis transport for winston","version":"0.2.1","author":{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},"repository":{"type":"git","url":"http://github.com/indexzero/winston-redis.git"},"keywords":["logging","sysadmin","tools","winston","redis"],"dependencies":{"redis":"0.8.x"},"devDependencies":{"winston":"0.4.x","vows":"0.5.x"},"main":"./lib/winston-redis","scripts":{"test":"vows test/*-test.js --spec"},"engines":{"node":">= 0.4.0"},"_id":"winston-redis@0.2.1","dist":{"shasum":"7bcf89fac06ed6c010a3de865d59f99537a59b1a","tarball":"https://registry.npmjs.org/winston-redis/-/winston-redis-0.2.1.tgz","integrity":"sha512-P7fgi2lwsZV26zOFk6b27GFEAo9jxFMuZtRgLEnaKnENo8A7anXGZcEpTxJRZoio0zyULwcQFkk1XHHkPSFZWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAgCm5dYv2+MY6bRqOSakKSsXQqptgiK2y75+0cUPHSQAiEA94w/4mJgykmgS9AaM/D9WuY0znlCwaQrzH7DYq94CHo="}]},"_npmVersion":"1.1.66","_npmUser":{"name":"indexzero","email":"charlie.robbins@gmail.com"},"maintainers":[{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"chjj","email":"chjjeffrey@gmail.com"}],"directories":{}},"0.3.0":{"name":"winston-redis","description":"A fixed-length Redis transport for winston","version":"0.3.0","author":{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},"repository":{"type":"git","url":"http://github.com/indexzero/winston-redis.git"},"keywords":["logging","sysadmin","tools","winston","redis"],"dependencies":{"redis":"0.12.x"},"devDependencies":{"winston":"0.8.x","vows":"0.8.x"},"main":"./lib/winston-redis","scripts":{"test":"vows test/*-test.js --spec"},"engines":{"node":"0.8.x || 0.11.x"},"gitHead":"c0524f214cd3e5b024a541fbdc8f6cadc6ae2f4c","bugs":{"url":"https://github.com/indexzero/winston-redis/issues"},"homepage":"https://github.com/indexzero/winston-redis","_id":"winston-redis@0.3.0","_shasum":"352495a34092b41402ad12a0019aea7d6d85b614","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.33","_npmUser":{"name":"indexzero","email":"charlie.robbins@gmail.com"},"maintainers":[{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"chjj","email":"chjjeffrey@gmail.com"}],"dist":{"shasum":"352495a34092b41402ad12a0019aea7d6d85b614","tarball":"https://registry.npmjs.org/winston-redis/-/winston-redis-0.3.0.tgz","integrity":"sha512-nH/Q33cC8jD0oqfKaWFh0JR7m3FyJzBEKOxgFJ7jrSFFl/qG9bW8pqKFgmWCTvU9EweHIU9h+q0jYqiMMITqqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH5AeAjr+Dwt14u+7jtK6bUfMNOGsXmtIfkJPWu+kJdxAiBzaOYwJG1cU+6JQZZ8x+Dw+gkOhvejoZZei1ah3msjrQ=="}]},"directories":{}},"1.0.0":{"name":"winston-redis","description":"A fixed-length Redis transport for winston","version":"1.0.0","author":{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},"repository":{"type":"git","url":"http://github.com/indexzero/winston-redis.git"},"keywords":["logging","sysadmin","tools","winston","redis"],"dependencies":{"async":"^1.2.1","redis":"0.12.x"},"devDependencies":{"winston":"^1.0.0","vows":"0.8.x"},"main":"./lib/winston-redis","scripts":{"test":"vows test/*-test.js --spec"},"engines":{"node":">=0.8.x"},"gitHead":"021716ce1a7666dab520e750066486841bebe493","bugs":{"url":"https://github.com/indexzero/winston-redis/issues"},"homepage":"https://github.com/indexzero/winston-redis","_id":"winston-redis@1.0.0","_shasum":"84b077cbadef9e98edb0b9286e02211f23fb503e","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.10.38","_npmUser":{"name":"indexzero","email":"charlie.robbins@gmail.com"},"maintainers":[{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"chjj","email":"chjjeffrey@gmail.com"}],"dist":{"shasum":"84b077cbadef9e98edb0b9286e02211f23fb503e","tarball":"https://registry.npmjs.org/winston-redis/-/winston-redis-1.0.0.tgz","integrity":"sha512-kqkox33sOxVPyAVfRPGyOl4kzJpadp2Lm8qPciilJS7NINpO+jAoO/f9qu5qXA5n8XgR/OzkOxfBDLNk3NBkEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDXR0Sv5wLXb4tODziXoiv6lWK3UoXFI2bTVNjQj4xYQIhAI8X/Pk2Ea523dLV0NrabGIsYl3P7fSM4Z0vGdN1E4t4"}]},"directories":{}},"3.0.0":{"name":"winston-redis","description":"A fixed-length Redis transport for winston","version":"3.0.0","author":{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/indexzero/winston-redis.git"},"keywords":["logging","sysadmin","tools","winston","redis"],"dependencies":{"async":"^2.6.1","lodash":"^4.6.1","winston-transport":"^4.2.0"},"devDependencies":{"abstract-winston-transport":"^0.5.1","mocha":"^5.2.0","redis":"^2.8.0","vows":"0.8.x"},"peerDependencies":{"redis":"^2.8.0","winston":"^3.0.0"},"main":"./lib/winston-redis","scripts":{"test":"mocha test/*-test.js"},"engines":{"node":">=8.11.x"},"license":"MIT","readme":"# winston-redis\n\nA capped Redis transport for [winston][0].\n\n## Usage\n``` js\n  var winston = require('winston');\n  \n  //\n  // Requiring `winston-redis` will expose \n  // `winston.transports.Redis`\n  //\n  require('winston-redis').Redis;\n  \n  winston.add(winston.transports.Redis, options);\n```\n\nThis transport accepts the options accepted by the [node-redis][1] client:\n\n* __host:__ (Default **localhost**) Remote host of the Redis server\n* __port:__ (Default **6379**) Port the Redis server is running on.\n* __auth:__ (Default **None**) Password set on the Redis server\n\nIn addition to these, the Redis transport also accepts the following options.\n\n* __redis:__ Either the redis client or the options for the redis client\n* __length:__ (Default **200**) Number of log messages to store.\n* __container:__ (Default **winston**) Name of the Redis container you wish your logs to be in.\n* __channel:__ (Default **None**) Name of the Redis channel to stream logs from.\n* __meta:__ (Default **{}**) Custom fields to add to each log.\n\n*Metadata:* Logged as JSON literal in Redis\n\n## Installation\n\n### Installing npm (node package manager)\n\n``` bash\n  $ curl http://npmjs.org/install.sh | sh\n```\n\n### Installing winston-redis\n\n``` bash\n  $ npm install winston\n  $ npm install winston-redis\n```\n\n## Run Tests\nAll of the winston tests are written in [vows][2], and designed to be run with npm. \n\n```\n  npm test\n```\n\n#### Author: [Charlie Robbins](http://github.com/indexzero)\n\n[0]: https://github.com/indexzero/winston\n[1]: https://github.com/mranney/node_redis\n[2]: http://vowsjs.org","readmeFilename":"README.md","gitHead":"c3b12d741f0e006dc24f5e34ada0cd3d958c2fd0","bugs":{"url":"https://github.com/indexzero/winston-redis/issues"},"homepage":"https://github.com/indexzero/winston-redis#readme","_id":"winston-redis@3.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"maxjbo","email":"info@maxjbo.com"},"dist":{"integrity":"sha512-onaM6U/cLbp0YQl/rSQQAFbObMCoJDr1yHpSaUJYsiZqtLVOQeHbN/j4XtE6URZEtXXexVGDoiAreuYUrH9yqA==","shasum":"fb6bd39149679f55fd2e4e3ee713d0258f872b3d","tarball":"https://registry.npmjs.org/winston-redis/-/winston-redis-3.0.0.tgz","fileCount":7,"unpackedSize":12279,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbq7neCRA9TVsSAnZWagAAencP/inrmWoFE10AVjz1vygo\nAkyaApvdRYZBpKgF8AuIKTPWBXgBccbsYELfDFxSG5pq2yMzfSEtaVmFnHc6\nrHEpOLrOrteidpckTckn7KOa2I/AR2iWJ93xiNM/RngwosYh4VPj43bJQkXT\n5hW0YYZ4yBxoDDc45X6IHfYsK6zRdNKMko3+Cv+mzWg9pH7JAnYVSaGe7U8F\nvupb4lZ7f5WIIzA8q8RoTI1Quqk/sLQgkYDU0yxpuH9XrbGTUzrgUpk54gRA\ntgLtmqfJGaaNoVFahkwMUTxHBrUC2xXoB2bSkVZ75XYkdXu7hN/CnwTJPhdd\nvipzTJwaNTk4iSxFcu+yPS9j3fXM8PAOjuQUTy3FCHmpIRyIpbghQL8L0q3h\nAAp8w36nLCud9BD59/DFDGFyhB7NJBnHU8JKH1xHNXbhUmlMSZ4ttQ/rdyvf\nwg98zW3CoCwwN1ebZjABZ8IjWMv6Gs8pPo2KY8XRNZmaVsMSPkonX9nhpBHR\njFSaAMLLt8q/U5TTiwfBgkMGP6i6kEz6noEB5LHtG3O0zoUO9Le8fDxA2U2x\nOz3bgb8scVQNdJOTgjDph3ixJQCpDxl0NVyRQ2l7FJhdr5O/2XbaZcbzfPVV\n1oPRq/K/gtfukYdFDcMaauvjQlMub8ljQf2uVr/zMZqlOV9U0r6WvXlF/avs\nLeMD\r\n=YexM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXutQIsj7evK+AhAo2pccig63pQjCmyVHiGa92s4RY4wIhAOvmMVUFFaFIaxQAdIJJdzeszFMjbmZoyD7BjKmyi4qJ"}]},"maintainers":[{"email":"chjjeffrey@gmail.com","name":"chjj"},{"email":"charlie.robbins@gmail.com","name":"indexzero"},{"email":"info@maxjbo.com","name":"maxjbo"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/winston-redis_3.0.0_1537980893731_0.10769445487828255"},"_hasShrinkwrap":false},"3.0.1":{"name":"winston-redis","description":"A fixed-length Redis transport for winston","version":"3.0.1","author":{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/winstonjs/winston-redis.git"},"keywords":["logging","sysadmin","tools","winston","redis"],"dependencies":{"async":"^2.6.1","lodash":"^4.6.1","winston-transport":"^4.2.0"},"devDependencies":{"abstract-winston-transport":"^0.5.1","mocha":"^5.2.0","redis":"^2.8.0"},"peerDependencies":{"redis":"^2.8.0","winston":"^3.0.0"},"main":"./lib/winston-redis","scripts":{"test":"mocha test/*-test.js --exit"},"engines":{"node":">=8.11.x"},"license":"MIT","readme":"# winston-redis\n\nA capped Redis transport for [winston][0].\n\n## Requirements\n\n- NodeJS 8.11.x\n- Winston 3.x\n\n## Usage\n``` js\n  const winston = require('winston');\n  const redisTransport = require('winston-redis');\n\n  const logger = winston.createLogger({\n    level: 'info',\n    transports: [\n      new redisTransport()\n    ]\n  });\n\n  logger.log({\n    level: \"info\",\n    message: \"redis is awesome\",\n    reason: \"it's fast\" // this will get stored as meta data\n  });\n```\n\nThis transport accepts the options accepted by the [node-redis][1] client:\n\n* __host:__ (Default **localhost**) Remote host of the Redis server\n* __port:__ (Default **6379**) Port the Redis server is running on.\n* __auth:__ (Default **None**) Password set on the Redis server\n\nIn addition to these, the Redis transport also accepts the following options.\n\n* __redis:__ Either the redis client or the options for the redis client\n* __length:__ (Default **200**) Number of log messages to store.\n* __container:__ (Default **winston**) Name of the Redis container you wish your logs to be in.\n* __channel:__ (Default **None**) Name of the Redis channel to stream logs from.\n* __meta:__ (Default **{}**) Custom fields to add to each log.\n\n*Metadata:* Logged as JSON literal in Redis\n\n## Installation\n\n### Installing npm (node package manager)\n\n``` bash\n  $ curl http://npmjs.org/install.sh | sh\n```\n\n### Installing winston-redis\n\n``` bash\n  $ npm install winston\n  $ npm install winston-redis\n```\n\n## Run Tests\nWinston-redis tests are written in [mocha][2], using [Abstract Winston Transport][3] and designed to be run with npm. \n\n```\n  npm test\n```\n\n#### Author: [Charlie Robbins](http://github.com/indexzero)\n\n[0]: https://github.com/winstonjs/winston\n[1]: https://github.com/mranney/node_redis\n[2]: https://mochajs.org\n[3]: https://github.com/winstonjs/abstract-winston-transport\n","readmeFilename":"README.md","gitHead":"28761bce7402cfbc9077a0a23a63ee934dc105ee","bugs":{"url":"https://github.com/winstonjs/winston-redis/issues"},"homepage":"https://github.com/winstonjs/winston-redis#readme","_id":"winston-redis@3.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"maxjbo","email":"info@maxjbo.com"},"dist":{"integrity":"sha512-n2nFG3pLVlh1M0UsudvXk04ZD1oAVj6k+s/v5rF9WYJKkfZg4gA+pktGg1WF1Rh61Z85Z8G3rI/7rWQefrVI+g==","shasum":"8ba240c703bb74109c1d521a435126c4c046d091","tarball":"https://registry.npmjs.org/winston-redis/-/winston-redis-3.0.1.tgz","fileCount":6,"unpackedSize":12460,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8O4HCRA9TVsSAnZWagAAojoQAIumwUHimNQiw35XO88H\nK/cN1M+uGR4eri5EA5QNC/j+dI+OBxUl8V14ZEEbKmVKERCRUdjpZOIrXjZQ\n5liHzto1bZD6C0KZexJT0Edx8V/9WmbA5V9IDBAq8kIxq1oh/cJCV4FTKJxq\nkmBqbTNZUxc/NTzSin5t5CQHZsRXqb1pv8/xxo8GzqUkWQp1FGFPbuMXwHnj\nCUo/vXW0X4shPwCH1fbCxcXSK+gSI5IFl4X8LPHEYyiLlui4EAMUnLRxbz54\nPahbFWPXRi4thlcJ9wUiGm3coB08XLlNGnKCefc2kzk9ksVS00fXEALDqZib\n/Oa9+co3uWmsEX+KVvD3URriDb6CXoE20x1NCMjFnVO8iNTRWwzK6CPdOlaH\nZgEUBxUDcXJhnxADL1+BXKlnlqm8gAa9mfoDZM1hZ8Lfa/eUjWddypTHFgbc\n5NS4KHUVcoNgSnzo2e242HGaLpFOKB1oxqAPy6XzfEkY457Ycoo1/BAXFz0Z\n906oQl+W/+Gv9AEwVA0A0VXMaE1nu+wtJfgKikeOVM3gfpokQZjXzzAlMP/n\ntB9cAlye5r5XP7/gctO65gfJx0ffVIwGGucFZ80RAdcgCxGk7OxhVSIn0vQo\nIK178uQkNztE8DDWXF52aZfRyNbqKvuXkvXnQNBtsen5RulMbTvq0p0OjxcY\niTob\r\n=qNtt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGXU+/9SRK178k7fYG7I7nepT7STyA4Xw5VV2jcgihlcAiEA9EW8tM67MDjT3i1spEyRoTnsBW6cm2Z6B5YAQCRwXn8="}]},"maintainers":[{"email":"chjjeffrey@gmail.com","name":"chjj"},{"email":"charlie.robbins@gmail.com","name":"indexzero"},{"email":"info@maxjbo.com","name":"maxjbo"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/winston-redis_3.0.1_1542516231117_0.8683866992666878"},"_hasShrinkwrap":false},"3.1.0":{"name":"winston-redis","description":"A fixed-length Redis transport for winston","version":"3.1.0","author":{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/winstonjs/winston-redis.git"},"keywords":["logging","sysadmin","tools","winston","redis"],"dependencies":{"async":"^2.6.1","lodash":"^4.6.1","winston-transport":"^4.2.0"},"devDependencies":{"abstract-winston-transport":"^0.5.1","mocha":"^5.2.0","redis":"^2.8.0"},"peerDependencies":{"redis":"^2.8.0","winston":"^3.0.0"},"main":"./lib/winston-redis","scripts":{"test":"mocha test/*-test.js --exit"},"engines":{"node":">=8.11.x"},"license":"MIT","gitHead":"50faa967fce32bd4445f37b76dc5c225f0bb2172","bugs":{"url":"https://github.com/winstonjs/winston-redis/issues"},"homepage":"https://github.com/winstonjs/winston-redis#readme","_id":"winston-redis@3.1.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-8DBScyeiB/m3nEp9E20zpulJqC7d9aOV9eRi4yl21DrRYvuXBJud+69aobqFg4rd/DV/ZAL9W1SA/zz66atmng==","shasum":"d969070d487a0f55790c3dc4f3dee0d4a303ec6d","tarball":"https://registry.npmjs.org/winston-redis/-/winston-redis-3.1.0.tgz","fileCount":7,"unpackedSize":12959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdytFGCRA9TVsSAnZWagAA4SgP/11LcOwvkFoS7ze8hLp+\n2e6fauCs5DgxESPvGwVUPKjYl31SYiWrSCtRLIiHQEUss/jM1SNpyRNxCSVe\n3crwPjTXfIH3cI3y6aaOGpOo2oEfB40ODdx5Wh2vmkcw+ScgPMaidwPUmWXb\noGvPNObjwE0oqivK7A5/lKjAepzdXQ2NHRqB5XV2YI01zzHwKI5jNMGTcocA\nKF5xAxKLKuirMJclS99TVQ5zDWkHZ+HQ4qknCtSxvnWe8vkKusxZscpgp6Eq\nyviG4DIgc+Mxre1PeNjxVm09eX2+OQnte8wj4Edd2F42T6Q8Pe5AOFKgrAPY\nE1N+icgC1fte9U+1ZvYVIMMOUWkkkOcS1IlcwB5Zc/iqAVgLAgB61BrVeQdg\nwr3YscbKRiG8qGRFSwacwA/86/aEG2h/QsCJRzbhPp7SAN/xPxLn9HN+Lv0J\nAKACZjbDVhNOnUGzt8jM1JFQFqs/Vpt+3v8n4GSz16YmkKNvQDNxCBmg7sEd\nx2PHACXT6IC3OAdlDzqVSG6AkuQfhqsGnvbJV4unm5bkMSyFwfNjtSVQZ8RX\nSD68xfl0wLuXkPM2zewB0u/kqegKCj74dAxQEytxDN5YXwboF2f/tdjHDMzg\nRZVXQtug+LbM38c6o5ufKlOy6FZeguKGRUed/yvhMKb6vz7B58gs0I9NjcMm\nnDBy\r\n=49mU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSfBs2CSeOm0dsHBN5JXuF21RunacbOT1RP/XDGbMGNAIgX/DAI/MrvfozKn5K+dvY40cjiWVRv8blLpfmkS3lB4A="}]},"maintainers":[{"email":"chjjeffrey@gmail.com","name":"chjj"},{"email":"charlie.robbins@gmail.com","name":"indexzero"},{"email":"info@maxjbo.com","name":"maxjbo"}],"_npmUser":{"name":"maxjbo","email":"info@maxjbo.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/winston-redis_3.1.0_1573572934040_0.04351679376811557"},"_hasShrinkwrap":false}},"maintainers":[{"email":"chjjeffrey@gmail.com","name":"chjj"},{"email":"charlie.robbins@gmail.com","name":"indexzero"},{"email":"info@maxjbo.com","name":"maxjbo"}],"time":{"modified":"2022-06-29T02:27:20.927Z","created":"2011-08-28T14:40:20.013Z","0.1.0":"2011-08-28T14:40:20.497Z","0.2.0":"2012-05-31T19:19:10.805Z","0.2.1":"2012-11-29T12:29:06.487Z","0.3.0":"2014-12-04T17:52:10.085Z","1.0.0":"2015-06-12T18:22:29.176Z","3.0.0":"2018-09-26T16:54:53.894Z","3.0.1":"2018-11-18T04:43:51.283Z","3.1.0":"2019-11-12T15:35:34.159Z"},"author":{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/winstonjs/winston-redis.git"},"readme":"# winston-redis\n\nA capped Redis transport for [winston][0].\n\n## Requirements\n\n- NodeJS 8.11.x\n- Winston 3.x\n\n## Usage\n``` js\n  const winston = require('winston');\n  const redisTransport = require('winston-redis');\n\n  const logger = winston.createLogger({\n    level: 'info',\n    transports: [\n      new redisTransport()\n    ]\n  });\n\n  logger.log({\n    level: \"info\",\n    message: \"redis is awesome\",\n    reason: \"it's fast\" // this will get stored as meta data\n  });\n```\n\nThis transport accepts the options accepted by the [node-redis][1] client:\n\n* __host:__ (Default **localhost**) Remote host of the Redis server\n* __port:__ (Default **6379**) Port the Redis server is running on.\n* __auth:__ (Default **None**) Password set on the Redis server\n\nIn addition to these, the Redis transport also accepts the following options.\n\n* __redis:__ Either the redis client or the options for the redis client\n* __length:__ (Default **200**) Number of log messages to store.\n* __container:__ (Default **winston**) Name of the Redis container you wish your logs to be in.\n* __channel:__ (Default **None**) Name of the Redis channel to stream logs from.\n* __meta:__ (Default **{}**) Custom fields to add to each log.\n* __flatMeta__: (Default **false**) Store meta data at the top level of the object rather than within a child `meta` object.\n\n*Metadata:* Logged as JSON literal in Redis\n\n## Installation\n\n### Installing npm (node package manager)\n\n``` bash\n  $ curl http://npmjs.org/install.sh | sh\n```\n\n### Installing winston-redis\n\n``` bash\n  $ npm install winston\n  $ npm install winston-redis\n```\n\n## Run Tests\nWinston-redis tests are written in [mocha][2], using [Abstract Winston Transport][3] and designed to be run with npm.\n\n```\n  npm test\n```\n\n#### Author: [Charlie Robbins](http://github.com/indexzero)\n\n[0]: https://github.com/winstonjs/winston\n[1]: https://github.com/mranney/node_redis\n[2]: https://mochajs.org\n[3]: https://github.com/winstonjs/abstract-winston-transport\n","homepage":"https://github.com/winstonjs/winston-redis#readme","keywords":["logging","sysadmin","tools","winston","redis"],"bugs":{"url":"https://github.com/winstonjs/winston-redis/issues"},"readmeFilename":"README.md","license":"MIT"}