{"_id":"redux-cli-logger","_rev":"11-00127ad40ccd6f60ac363bab5c1a9fc2","name":"redux-cli-logger","description":"Redux logger for a node environment","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.0":{"name":"redux-cli-logger","version":"1.0.0","description":"Redux logger for a node environment","main":"build/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"babel src --out-dir build"},"repository":{"type":"git","url":"git+https://github.com/fasterthanlime/redux-cli-logger.git"},"keywords":["redux","middleware","logger","logging","node","react"],"contributors":[{"name":"Mike Bagwell","url":"https://github.com/low-ghost"},{"name":"Amos Wenger","url":"https://github.com/fasterthanlime"}],"license":"MIT","dependencies":{"renderkid":"^1.0.0"},"devDependencies":{"babel-cli":"^6.6.5","babel-preset-es2015":"^6.6.0"},"bugs":{"url":"https://github.com/fasterthanlime/redux-cli-logger/issues"},"homepage":"https://github.com/fasterthanlime/redux-cli-logger#readme","maintainers":[{"name":"Amos Wenger","url":"https://github.com/fasterthanlime"}],"directories":{},"gitHead":"696d079ad9cfb4c64d34f976d5866064e83288b1","_id":"redux-cli-logger@1.0.0","_shasum":"a699b78f2b095d0adb82fb4fef6f28d9a6cd5cc3","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"fasterthanlime","email":"amoswenger@gmail.com"},"dist":{"shasum":"a699b78f2b095d0adb82fb4fef6f28d9a6cd5cc3","tarball":"https://registry.npmjs.org/redux-cli-logger/-/redux-cli-logger-1.0.0.tgz","integrity":"sha512-6LRAqL2lJcv6orMcSumccBhruVP3ppO6XHbPMDiLxX/7jmooX6azASyeeH9mrOvCnotMTCjMAVc/4h4SorlLww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZ5f1ECNr2pX3yRq9qiM2ge0fn1DwMqXVhH8Snx7CtNAiEAsUwT01WzlrExzvnk+aMhWYh7uIxv+x2nEH/Vfa61fk8="}]},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/redux-cli-logger-1.0.0.tgz_1457454797381_0.14819496031850576"}},"1.2.0":{"name":"redux-cli-logger","version":"1.2.0","description":"Redux logger for a node environment","main":"build/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"babel src --out-dir build"},"repository":{"type":"git","url":"git+https://github.com/fasterthanlime/redux-cli-logger.git"},"keywords":["redux","middleware","logger","logging","node","react"],"contributors":[{"name":"Mike Bagwell","url":"https://github.com/low-ghost"},{"name":"Amos Wenger","url":"https://github.com/fasterthanlime"}],"license":"MIT","dependencies":{"renderkid":"^1.0.0"},"devDependencies":{"babel-cli":"^6.6.5","babel-preset-es2015":"^6.6.0"},"bugs":{"url":"https://github.com/fasterthanlime/redux-cli-logger/issues"},"homepage":"https://github.com/fasterthanlime/redux-cli-logger#readme","maintainers":[{"name":"fasterthanlime","email":"amoswenger@gmail.com"}],"directories":{},"gitHead":"b2fe495a34927f0629f007811314ac8cae07bc20","_id":"redux-cli-logger@1.2.0","_shasum":"43312023fc039c304f05908bdab872451b0ad586","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"fasterthanlime","email":"amoswenger@gmail.com"},"dist":{"shasum":"43312023fc039c304f05908bdab872451b0ad586","tarball":"https://registry.npmjs.org/redux-cli-logger/-/redux-cli-logger-1.2.0.tgz","integrity":"sha512-+G03ndY4+sc81eadYuF7c8OCgn2LFebVEf89A85H/0wLzAHJczBbyAiTRoH4lMNk1axF6O6XBrmF6CetYG8vnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRH040MvSxIhh4lPL5BjTyNWm37ZNOeaFphliTllo5owIgWWi+8j/1XAjX4g5hd/cVr8Xp5YPV8DqzEwQCdpXW/TI="}]},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/redux-cli-logger-1.2.0.tgz_1457455199072_0.029731720918789506"}},"1.3.0":{"name":"redux-cli-logger","version":"1.3.0","description":"Redux logger for a node environment","main":"build/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"babel src --out-dir build"},"repository":{"type":"git","url":"git+https://github.com/fasterthanlime/redux-cli-logger.git"},"keywords":["redux","middleware","logger","logging","node","react"],"contributors":[{"name":"Mike Bagwell","url":"https://github.com/low-ghost"},{"name":"Amos Wenger","url":"https://github.com/fasterthanlime"}],"license":"MIT","dependencies":{"renderkid":"^1.0.0"},"devDependencies":{"babel-cli":"^6.6.5","babel-preset-es2015":"^6.6.0"},"bugs":{"url":"https://github.com/fasterthanlime/redux-cli-logger/issues"},"homepage":"https://github.com/fasterthanlime/redux-cli-logger#readme","maintainers":[{"name":"fasterthanlime","email":"amoswenger@gmail.com"}],"directories":{},"gitHead":"d8027400a635d41550d75024108eb684b8a9c51e","_id":"redux-cli-logger@1.3.0","_shasum":"5e09dd7feb171ac5d4f2076a40591dfbe0cead55","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"fasterthanlime","email":"amoswenger@gmail.com"},"dist":{"shasum":"5e09dd7feb171ac5d4f2076a40591dfbe0cead55","tarball":"https://registry.npmjs.org/redux-cli-logger/-/redux-cli-logger-1.3.0.tgz","integrity":"sha512-qb/fprtRYZmflDDyRB4YYtdgM3IvZdrY41x584GSl4m4+/qhSf4JtavfgOWCZwEkohHNs7B2gLVOTi3Kc/WZpw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsxAPqpb6MXibpGTeuMDHoXi6aMTsVlyHWHy77vePNBQIgaJIpKLwDqVJD4VGAz7cHvWBWxgXEBmW06sSALQ9x/zs="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/redux-cli-logger-1.3.0.tgz_1457455551096_0.46451038448140025"}},"1.3.1":{"name":"redux-cli-logger","version":"1.3.1","description":"Redux logger for a node environment","main":"build/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"babel src --out-dir build"},"repository":{"type":"git","url":"git+https://github.com/fasterthanlime/redux-cli-logger.git"},"keywords":["redux","middleware","logger","logging","node","react"],"contributors":[{"name":"Mike Bagwell","url":"https://github.com/low-ghost"},{"name":"Amos Wenger","url":"https://github.com/fasterthanlime"}],"license":"MIT","dependencies":{"renderkid":"^1.0.0"},"devDependencies":{"babel-cli":"^6.6.5","babel-preset-es2015":"^6.6.0"},"bugs":{"url":"https://github.com/fasterthanlime/redux-cli-logger/issues"},"homepage":"https://github.com/fasterthanlime/redux-cli-logger#readme","maintainers":[{"name":"fasterthanlime","email":"amoswenger@gmail.com"}],"directories":{},"gitHead":"35f468c8168d4841fa610fb4a720583c819f446f","_id":"redux-cli-logger@1.3.1","_shasum":"c1ebdcc4a657cac50bd825a12e7f5a7f37b82d11","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"fasterthanlime","email":"amoswenger@gmail.com"},"dist":{"shasum":"c1ebdcc4a657cac50bd825a12e7f5a7f37b82d11","tarball":"https://registry.npmjs.org/redux-cli-logger/-/redux-cli-logger-1.3.1.tgz","integrity":"sha512-/ofhFQ0pDga0P0WMlgSX6oP1c77OMeQmMDWXOWl2sihj8Kv0c4miEy3GDsWCGezm/8p7ViDumSwBeWCrgwv1QQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvq6ahucG6ozsUmoQiq7hE2zvz9kjt3x6AzGbS1FIcKwIge/asEBBHD7KlHkxfn1zB5hFPduzyzKv9zhSpeUUhTcQ="}]},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/redux-cli-logger-1.3.1.tgz_1457460315575_0.11458355467766523"}},"2.0.0":{"name":"redux-cli-logger","version":"2.0.0","description":"Redux logger for a node environment","main":"build/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"babel src --out-dir build"},"repository":{"type":"git","url":"git+https://github.com/fasterthanlime/redux-cli-logger.git"},"keywords":["redux","middleware","logger","logging","node","react"],"contributors":[{"name":"Mike Bagwell","url":"https://github.com/low-ghost"},{"name":"Amos Wenger","url":"https://github.com/fasterthanlime"}],"license":"MIT","dependencies":{"colors":"^1.1.2"},"devDependencies":{"babel-cli":"^6.6.5","babel-preset-es2015":"^6.6.0"},"bugs":{"url":"https://github.com/fasterthanlime/redux-cli-logger/issues"},"homepage":"https://github.com/fasterthanlime/redux-cli-logger#readme","maintainers":[{"name":"fasterthanlime","email":"amoswenger@gmail.com"}],"directories":{},"gitHead":"3a0325de92ba7190dde8fc8df6e417f478ba6054","_id":"redux-cli-logger@2.0.0","_shasum":"54314147b2bd3b0e8275f862ea7553b19e63f60b","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"fasterthanlime","email":"amoswenger@gmail.com"},"dist":{"shasum":"54314147b2bd3b0e8275f862ea7553b19e63f60b","tarball":"https://registry.npmjs.org/redux-cli-logger/-/redux-cli-logger-2.0.0.tgz","integrity":"sha512-weUaJwzal2q72JIDyQ3WeOwOXwsA3OBm/tGWTj40sY37iOvRt5PVmFb7Sf6P2Lth2K1lhoqHhFLBQUdK/0pyEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDkrJll50bwto0uKkjOWLdstMURiAbdYkSAR7Z0c+SdHAiBtEjX/6mz3jBunNkx9qTgzLbI8qH5V3+pzEbZl3SJY3Q=="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/redux-cli-logger-2.0.0.tgz_1480540847671_0.48764287238009274"}},"2.0.1":{"name":"redux-cli-logger","version":"2.0.1","description":"Redux logger for a node environment","main":"build/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"babel src --out-dir build"},"repository":{"type":"git","url":"git+https://github.com/fasterthanlime/redux-cli-logger.git"},"keywords":["redux","middleware","logger","logging","node","react"],"contributors":[{"name":"Mike Bagwell","url":"https://github.com/low-ghost"},{"name":"Amos Wenger","url":"https://github.com/fasterthanlime"}],"license":"MIT","dependencies":{"colors":"^1.1.2"},"devDependencies":{"babel-cli":"^6.6.5","babel-preset-es2015":"^6.6.0"},"bugs":{"url":"https://github.com/fasterthanlime/redux-cli-logger/issues"},"homepage":"https://github.com/fasterthanlime/redux-cli-logger#readme","maintainers":[{"name":"fasterthanlime","email":"amoswenger@gmail.com"}],"directories":{},"gitHead":"31a92aa61716d127a1ec1b00c46e394eb173aae0","_id":"redux-cli-logger@2.0.1","_npmVersion":"5.5.1","_nodeVersion":"9.2.1","_npmUser":{"name":"fasterthanlime","email":"amoswenger@gmail.com"},"dist":{"integrity":"sha512-2p0XrzfrnWO+dhlRYnrPuoKsC478v9vQtAtmHEtfhApdEw/RFOoobwmfrnal1udG9UNWi4aY0GXaNV2+RhB+vw==","shasum":"465d8644e6487d356f2ec9acc4f36fb1ceb9dd88","tarball":"https://registry.npmjs.org/redux-cli-logger/-/redux-cli-logger-2.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC0LwZiz+zQKlb+R3K6pzxGqei/auoqg6QXwuDzq8r3NAiAUHrNkEX2LgusDcYax0dIGjbCp8m1/y2h0MYUmRWYVhA=="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-cli-logger-2.0.1.tgz_1515851971442_0.519512307131663"}},"2.1.0":{"name":"redux-cli-logger","version":"2.1.0","description":"Redux logger for a node environment","main":"build/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"babel src --out-dir build"},"repository":{"type":"git","url":"git+https://github.com/fasterthanlime/redux-cli-logger.git"},"keywords":["redux","middleware","logger","logging","node","react"],"contributors":[{"name":"Mike Bagwell","url":"https://github.com/low-ghost"},{"name":"Amos Wenger","url":"https://github.com/fasterthanlime"}],"license":"MIT","dependencies":{"colors":"^1.1.2"},"devDependencies":{"babel-cli":"^6.6.5","babel-preset-es2015":"^6.6.0"},"bugs":{"url":"https://github.com/fasterthanlime/redux-cli-logger/issues"},"homepage":"https://github.com/fasterthanlime/redux-cli-logger#readme","maintainers":[{"name":"fasterthanlime","email":"amoswenger@gmail.com"}],"directories":{},"gitHead":"f5473aaf7161b948c77aae5ac0615e424f62ea7c","_id":"redux-cli-logger@2.1.0","_npmVersion":"5.5.1","_nodeVersion":"9.2.1","_npmUser":{"name":"fasterthanlime","email":"amoswenger@gmail.com"},"dist":{"integrity":"sha512-75mVsggAJRSykWy2qxdGI7osocDWvc3RCMeN93hlvS/FxgdRww12NaXslez+W6gBOrSJKO7W16V0IzuISSfCxg==","shasum":"7e546502a4b08c7fac4fe2faee2326a6326cb4a1","tarball":"https://registry.npmjs.org/redux-cli-logger/-/redux-cli-logger-2.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfQjhuFHJ1lTCWd1pA05KtNqWPGQsx6gf8hggiHOn8tQIgJfDgKTTVMyycOh58DhzUk5GXKczhx1xSFkqLaIobPu0="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-cli-logger-2.1.0.tgz_1517228769226_0.545349681051448"}}},"readme":"# redux-cli-logger\n\n### A redux logger for command-line environments (node.js)\n\nNo innovations here, just a logger middleware for\n[redux](https://github.com/rackt/redux) that will write all redux actions and\nstate changes to the node.js console.\n\nConfiguration and output format inspired by [redux-logger](https://github.com/fcomb/redux-logger)\n\n![redux-node-logger screenshot](https://cloud.githubusercontent.com/assets/9889378/9400145/f321b9fe-478b-11e5-9f77-b08baf9573b9.png\n\"A Redux Logger for Node Environments\")\n\n### Installation\n\n```bash\nnpm install --save-dev redux-cli-logger\n```\n\n### Usage\n\nredux-cli-logger must be called as a function before being utilized as\nmiddleware. This allows passing in options to overwrite all colors and arrow\nicons, as well as a predicate that functions like that in redux-logger. Here's\nwhat a simple configureStore function might look like:\n\n```javascript\nimport reducer from '../reducers'\nimport createCLILogger from 'redux-cli-logger'\n\nconst middleware = [\n  // your middleware here\n]\n\nif (process.env.NODE_ENV === 'development') {\n  const loggerOptions = {\n    predicate: (getState, action) => !action.MONITOR_ACTION\n  }\n  const logger = createCLILogger(loggerOptions)\n  middleware.push(logger)\n}\n\nconst enhancer = compose(\n  applyMiddleware(...middleware)\n  // optionally, electron-enhancer, redux-loop, etc.\n)\n\nconst initialState = {}\nconst store = createStore(reducer, initialState, enhancer)\n```\n\n### Configuration\n\nThe options object has overridable defaults that look like this:\n\n```javascript\n{\n  downArrow: '▼',\n  rightArrow: '▶',\n  messageColor: 'bright-yellow',\n  prevColor: 'grey',\n  actionColor: 'bright-blue',\n  nextColor: 'green',\n  log: console.log,\n  // when non-null, only prints if predicate(getState, action) is truthy\n  predicate: null,\n  // useful to trim parts of the state atom that are too verbose\n  stateTransformer: (state) => state,\n  // useful to censor private messages (containing password, etc.)\n  actionTransformer: (action) => action,\n}\n```\n\n","maintainers":[{"name":"fasterthanlime","email":"amoswenger@gmail.com"}],"time":{"modified":"2022-06-26T10:02:03.942Z","created":"2016-03-08T16:33:21.352Z","1.0.0":"2016-03-08T16:33:21.352Z","1.2.0":"2016-03-08T16:40:03.403Z","1.3.0":"2016-03-08T16:45:55.449Z","1.3.1":"2016-03-08T18:05:19.854Z","2.0.0":"2016-11-30T21:20:48.332Z","2.0.1":"2018-01-13T13:59:32.369Z","2.1.0":"2018-01-29T12:26:10.163Z"},"homepage":"https://github.com/fasterthanlime/redux-cli-logger#readme","keywords":["redux","middleware","logger","logging","node","react"],"repository":{"type":"git","url":"git+https://github.com/fasterthanlime/redux-cli-logger.git"},"contributors":[{"name":"Mike Bagwell","url":"https://github.com/low-ghost"},{"name":"Amos Wenger","url":"https://github.com/fasterthanlime"}],"bugs":{"url":"https://github.com/fasterthanlime/redux-cli-logger/issues"},"license":"MIT","readmeFilename":"README.md","users":{"usex":true}}