{"_id":"status-logger","_rev":"10-50b7f740261b064a9159b9cd6894bcb9","name":"status-logger","description":"print updating progress to console and stdout","dist-tags":{"latest":"3.1.1"},"versions":{"1.0.0":{"name":"status-logger","version":"1.0.0","description":"print updating progress to console and stdout","main":"index.js","scripts":{"test":"standard"},"author":{"name":"Joe Hand","email":"joe@joeahand.com","url":"http://joeahand.com/"},"license":"ISC","dependencies":{"single-line-log":"^1.1.1"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/joehand/status-logger.git"},"bugs":{"url":"https://github.com/joehand/status-logger/issues"},"homepage":"https://github.com/joehand/status-logger#readme","gitHead":"9b5a917aa630443adbcd2f263e5d2a5cdb7dfaf7","_id":"status-logger@1.0.0","_shasum":"b1e387b9d672784fed05e27299ec700fccc3a316","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.1","_npmUser":{"name":"jhand","email":"joe@joeahand.com"},"dist":{"shasum":"b1e387b9d672784fed05e27299ec700fccc3a316","tarball":"https://registry.npmjs.org/status-logger/-/status-logger-1.0.0.tgz","integrity":"sha512-sFdGw/SA7d2qVeEfeFLt8vnt5+ruhKSNXS+rX8NwTBnzWtmg4uIqPJSBwHiXxhlJoyWAQav5o9vjT9t8kSnkAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDk5w/B4eWnrLfMl1+17MHZ+xRoWgXutXOOo+IRpkmAoAIhANgmbuMIkgk1kFoeFFmql68xHZ2igADXXhGlIKmkPmSt"}]},"maintainers":[{"name":"jhand","email":"joe@joeahand.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/status-logger-1.0.0.tgz_1467742294762_0.6064871321432292"}},"2.0.0":{"name":"status-logger","version":"2.0.0","description":"print updating progress to console and stdout","main":"index.js","scripts":{"test":"standard"},"author":{"name":"Joe Hand","email":"joe@joeahand.com","url":"http://joeahand.com/"},"license":"ISC","dependencies":{"single-line-log":"^1.1.1"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/joehand/status-logger.git"},"bugs":{"url":"https://github.com/joehand/status-logger/issues"},"homepage":"https://github.com/joehand/status-logger#readme","gitHead":"5e71aa11b1cc30cf2043ad8dd9ca06269fccd870","_id":"status-logger@2.0.0","_shasum":"75ff4d59f2d36efd69be2ca97f1bf7dc100786aa","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.1","_npmUser":{"name":"jhand","email":"joe@joeahand.com"},"dist":{"shasum":"75ff4d59f2d36efd69be2ca97f1bf7dc100786aa","tarball":"https://registry.npmjs.org/status-logger/-/status-logger-2.0.0.tgz","integrity":"sha512-m+EAfXDfiAtc0Wl6ZCNIEjlVvUNSVJa/iMPEXrdvSHT3XONWWnvnkdIV+Kp5eKJj7cgFDObpu8MrcKtHTk4xYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEMu0Jn4rV7vqLq3sIUpWrYWzep6gTDxHfOnxMLqfgcXAiEAwRvNdQkzD/HwjqZbBCgWVw2OIGjoHKHJDxt8onFMRgU="}]},"maintainers":[{"name":"jhand","email":"joe@joeahand.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/status-logger-2.0.0.tgz_1468019602456_0.3580616000108421"}},"2.0.1":{"name":"status-logger","version":"2.0.1","description":"print updating progress to console and stdout","main":"index.js","scripts":{"test":"standard"},"author":{"name":"Joe Hand","email":"joe@joeahand.com","url":"http://joeahand.com/"},"license":"ISC","dependencies":{"single-line-log":"^1.1.1"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/joehand/status-logger.git"},"bugs":{"url":"https://github.com/joehand/status-logger/issues"},"homepage":"https://github.com/joehand/status-logger#readme","gitHead":"2454ebde0e2730aab0aaa590eeb06a27f02db2e1","_id":"status-logger@2.0.1","_shasum":"d2cd7e47e612d47cb4651d6d17cd70b7047d4105","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.1","_npmUser":{"name":"jhand","email":"joe@joeahand.com"},"dist":{"shasum":"d2cd7e47e612d47cb4651d6d17cd70b7047d4105","tarball":"https://registry.npmjs.org/status-logger/-/status-logger-2.0.1.tgz","integrity":"sha512-1Dhadhosea+70nf+uv0s50H+HuSpK9aHeSdcSIki9k/GHzV5WT3Sr6Liyv8/DoYc+fZmtqskmobPkqFvwz/Hqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA5cj710may8ep65lvoI4nhksjSaB6gNBs5if4AikR/jAiB7rGqdOTH8HY6y7dGTgw/HUys6cVPXCj6iTLG+lhsYPA=="}]},"maintainers":[{"name":"jhand","email":"joe@joeahand.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/status-logger-2.0.1.tgz_1468019771018_0.3674670329783112"}},"3.0.0":{"name":"status-logger","version":"3.0.0","description":"print updating progress to console and stdout","main":"index.js","scripts":{"test":"standard"},"author":{"name":"Joe Hand","email":"joe@joeahand.com","url":"http://joeahand.com/"},"license":"MIT","dependencies":{"ansi-diff-stream":"^1.1.1"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/joehand/status-logger.git"},"bugs":{"url":"https://github.com/joehand/status-logger/issues"},"homepage":"https://github.com/joehand/status-logger#readme","gitHead":"7b8dce9b1255dd15ce8356da45f8b0554981a919","_id":"status-logger@3.0.0","_shasum":"fc5529c33d7c44738b2df4b060638e908f4fd0c3","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.5.0","_npmUser":{"name":"jhand","email":"joe@hand.email"},"dist":{"shasum":"fc5529c33d7c44738b2df4b060638e908f4fd0c3","tarball":"https://registry.npmjs.org/status-logger/-/status-logger-3.0.0.tgz","integrity":"sha512-Hx4gHfyvJFqOONrJcqyQFb/4B1e5Rd62soOUfVHh/oRdKGHQK/ZEysKRzRTtkoxvi2wgWeHGLamCEGOPjNUfGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWCSt809t0zaSbmHLxvZYrnfSNuD0umGYlV2YyBxgUpQIhAMyXUwCWtxD2TTZ0nI3ebtwd7idxsZtStio9Rx4Wxzhi"}]},"maintainers":[{"name":"jhand","email":"joe@joeahand.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/status-logger-3.0.0.tgz_1473218457063_0.3721927856095135"}},"3.1.0":{"name":"status-logger","version":"3.1.0","description":"print updating progress to console and stdout","main":"index.js","scripts":{"test":"standard"},"author":{"name":"Joe Hand","email":"joe@joeahand.com","url":"http://joeahand.com/"},"license":"MIT","dependencies":{"ansi-diff-stream":"^1.2.0"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/joehand/status-logger.git"},"bugs":{"url":"https://github.com/joehand/status-logger/issues"},"homepage":"https://github.com/joehand/status-logger#readme","gitHead":"2db644879c96db7bc058691d47f3c5cf5e3af7dd","_id":"status-logger@3.1.0","_shasum":"6395fc073922feb40dd676e3dbc5bcfbc87f6b60","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"jhand","email":"joe@hand.email"},"dist":{"shasum":"6395fc073922feb40dd676e3dbc5bcfbc87f6b60","tarball":"https://registry.npmjs.org/status-logger/-/status-logger-3.1.0.tgz","integrity":"sha512-ALbanC1trbdD70j/pVDOYd6pLYcoyutawZZy/sJUylcq1W5Um/GvuBIWWVJzXmbVOuaK+3DyQZ9B565XSHy7DQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbz7MSbvl3Jlqg/B5t9syFZwO6zZWvRR2KjQiS1mxARAIhAKw8jj+jI75gZaBSUsR7Ye0EbLBhmYq20hIO+w+fwKPf"}]},"maintainers":[{"name":"jhand","email":"joe@joeahand.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/status-logger-3.1.0.tgz_1490825056620_0.7664660410955548"}},"3.1.1":{"name":"status-logger","version":"3.1.1","description":"print updating progress to console and stdout","main":"index.js","scripts":{"test":"standard"},"author":{"name":"Joe Hand","email":"joe@joeahand.com","url":"http://joeahand.com/"},"license":"MIT","dependencies":{"ansi-diff-stream":"^1.2.0","lodash.flattendeep":"^4.4.0","wrap-ansi":"^3.0.1"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/joehand/status-logger.git"},"bugs":{"url":"https://github.com/joehand/status-logger/issues"},"homepage":"https://github.com/joehand/status-logger#readme","gitHead":"ec6562cc315506d7ef4c9a1941cec8d7fdbaf872","_id":"status-logger@3.1.1","_npmVersion":"5.4.2","_nodeVersion":"8.3.0","_npmUser":{"name":"jhand","email":"joe@hand.email"},"dist":{"integrity":"sha512-dNYazf7T9aD9XMvvP/ZZTL8nzhS1piUfFq7HVDOHFdO2LBnPMqdkS5kaoXjK7gvH/0mT6ZcafuDTSSd7DIVYAA==","shasum":"3a6b3774ddc5fb224b62c23f44299c3c3ed19344","tarball":"https://registry.npmjs.org/status-logger/-/status-logger-3.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3nE+2lMu05v3+vP4DCVqjvsbpvsa6Q8RzrU9F5OsNUAIhAI3XSw+v9uO4ZlJlNIjMQIuzExTX/RpelJUSgKDFPMNW"}]},"maintainers":[{"name":"jhand","email":"joe@hand.email"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/status-logger-3.1.1.tgz_1506463273873_0.5500526991672814"}}},"readme":"# Status Logger\n\nManage complex CLI output with arrays and automatically print any changes to stdout via [ansi-diff-stream](https://github.com/mafintosh/ansi-diff-stream).\n\n**WARNING: Awesomeness elsewhere.** `status-logger` was nice but it wasn't enough, it still *felt* like node but I wanted frontend javascript fun. Introducing... 🥁  ... [neat-log](https://github.com/joehand/neat-log). **neat-log** is much neater and I'd definitely recommend using that. It uses `status-logger` under the hood.\n\n## Example\n\nThe example here will initially print:\n\n```\nStatus Logger Example:\nstarting...\n```\n\nThen once it gets started, it will print the time every second:\n\n```\nStatus Logger Example:\nTime = 10 seconds\n```\n\n```js\nvar output = ['Status Logger Example:', 'starting...']\nvar log = statusLogger(output)\nsetInterval(function () {\n  log.print()\n}, 100)\nlog.print()\nstart()\n\nfunction start () {\n  var sec = 0\n  setInterval(function () {\n    sec++\n    output[1] = `Time = ${sec} seconds`\n  }, 1000)\n}\n```\n\nRun `node basic-example.js` or `node example.js` to see full examples. You can find more complex usage in these modules:\n\n* ~[Dat CLI](https://github.com/datproject/dat)~ Using `neat-log` now (built on this)\n* [bkr](https://github.com/beakerbrowser/bkr/)\n\n## Installation\n\n```\nnpm install status-logger\n```\n\n## API\n\n### `var log = statusLogger(messages, opts)`\n\n`messages` is an array with of lines to print. They will be printed in order with a newline spacer between each. Message arrays are flattened so they can be any mix of nested arrays and strings.\n\n### Options\n\n* `quiet`: do not print anything\n* `debug`: print everything to console.log or console.error\n\n### `log.print()`\n\nPrint messages from all groups.\n\n### `var output = log.clear(messages)`\n\nClear all output and create a empty output array (or with new `messages`).\n\n### `log.diff`\n\n`ansi-diff-stream` instance\n\n### `log.messages`\n\nStored reference to the original messages array.\n\n## License\n\nMIT\n","maintainers":[{"name":"jhand","email":"joe@hand.email"}],"time":{"modified":"2022-06-27T00:09:48.645Z","created":"2016-07-05T18:11:38.586Z","1.0.0":"2016-07-05T18:11:38.586Z","2.0.0":"2016-07-08T23:13:25.060Z","2.0.1":"2016-07-08T23:16:11.491Z","3.0.0":"2016-09-07T03:20:58.995Z","3.1.0":"2017-03-29T22:04:18.511Z","3.1.1":"2017-09-26T22:01:13.960Z"},"homepage":"https://github.com/joehand/status-logger#readme","repository":{"type":"git","url":"git+https://github.com/joehand/status-logger.git"},"author":{"name":"Joe Hand","email":"joe@joeahand.com","url":"http://joeahand.com/"},"bugs":{"url":"https://github.com/joehand/status-logger/issues"},"license":"MIT","readmeFilename":"readme.md"}