{"_id":"log-update","_rev":"4499079","name":"log-update","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","dist-tags":{"latest":"8.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2026-04-09T01:41:21.000Z","created":"2015-08-16T08:33:11.178Z","8.0.0":"2026-04-05T07:47:54.404Z","7.2.0":"2026-02-27T04:51:14.659Z","7.1.0":"2026-02-05T04:34:20.327Z","7.0.2":"2025-11-19T08:33:51.697Z","7.0.1":"2025-09-23T19:32:34.339Z","7.0.0":"2025-09-15T15:33:50.537Z","6.1.0":"2024-07-26T14:04:33.571Z","6.0.0":"2023-10-28T18:38:03.978Z","5.0.1":"2022-04-20T17:23:03.743Z","5.0.0":"2021-10-18T07:31:17.251Z","4.0.0":"2020-02-20T08:07:17.654Z","3.4.0":"2020-02-02T16:41:36.229Z","3.3.0":"2019-09-03T14:54:23.116Z","3.2.0":"2019-04-01T08:43:34.499Z","3.1.1":"2019-03-31T19:14:12.659Z","3.1.0":"2019-03-05T09:07:19.436Z","3.0.0":"2019-03-03T06:44:06.729Z","2.3.0":"2017-11-04T07:10:46.470Z","2.2.0":"2017-10-19T09:47:52.487Z","2.1.0":"2017-07-23T20:12:58.993Z","2.0.0":"2017-04-20T05:56:18.772Z","1.0.2":"2015-10-02T16:40:45.977Z","1.0.1":"2015-09-18T13:51:37.506Z","1.0.0":"2015-08-16T08:33:11.178Z"},"users":{"sandinmyjoints":true,"gochomugo":true,"abhisekp":true,"nichoth":true,"ahme-t":true,"danielkalen":true,"sachacr":true,"nickzuber":true,"quocnguyen":true,"santi8ago8":true,"rocket0191":true,"simon129":true,"g120hbq":true,"egorgl":true,"alfeo92":true,"danielbayley":true,"scottfreecode":true,"alvis":true,"johnsmithcoder":true,"jian263994241":true,"icodeforcookies":true,"wangnan0610":true,"chaoliu":true,"zuojiang":true,"atronax":true,"moimikey":true,"lunelson":true,"thing772":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"versions":{"8.0.0":{"name":"log-update","version":"8.0.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=22"},"scripts":{"test":"xo && node --test && tsd"},"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^7.3.0","cli-cursor":"^5.0.0","slice-ansi":"^9.0.0","string-width":"^8.2.0","strip-ansi":"^7.2.0","wrap-ansi":"^10.0.0"},"devDependencies":{"@types/node":"^25.5.2","terminal.js":"^1.0.11","tsd":"^0.33.0","wcwidth":"^1.0.1","xo":"^2.0.2"},"xo":{"rules":{"@typescript-eslint/no-unsafe-argument":"off","import-x/no-extraneous-dependencies":"off","n/no-extraneous-import":"off"}},"gitHead":"4f7a1460893a7557aee8f7202956218c3e770a5a","types":"./index.d.ts","_id":"log-update@8.0.0","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_nodeVersion":"25.8.0","_npmVersion":"11.12.0","dist":{"shasum":"07d7bde6320dda8cf6fb12619e9d30695525b141","size":5654,"noattachment":false,"key":"/log-update/-/log-update-8.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-8.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/log-update_8.0.0_1775375274249_0.6189580416260201"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-05T07:47:54.404Z","publish_time":1775375274404,"_source_registry_name":"default","_cnpm_publish_time":1775375274404},"7.2.0":{"name":"log-update","version":"7.2.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && node --test && tsd"},"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^7.3.0","cli-cursor":"^5.0.0","slice-ansi":"^8.0.0","strip-ansi":"^7.2.0","wrap-ansi":"^10.0.0"},"devDependencies":{"@types/node":"^25.3.2","string-width":"^8.2.0","terminal.js":"^1.0.11","tsd":"^0.33.0","wcwidth":"^1.0.1","xo":"^1.2.3"},"xo":{"rules":{"@typescript-eslint/no-unsafe-argument":"off","import-x/no-extraneous-dependencies":"off","n/no-extraneous-import":"off"}},"gitHead":"3af5ea02c2503ff3268f8dde64e1266da21966f9","types":"./index.d.ts","_id":"log-update@7.2.0","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_nodeVersion":"25.6.0","_npmVersion":"11.8.0","dist":{"shasum":"cd6c87c1270c80b53fa1d6d8ac5b2c624a286258","size":5332,"noattachment":false,"key":"/log-update/-/log-update-7.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-7.2.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/log-update_7.2.0_1772167874507_0.2950826528350763"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-27T04:51:14.659Z","publish_time":1772167874659,"_source_registry_name":"default","_cnpm_publish_time":1772167874659},"7.1.0":{"name":"log-update","version":"7.1.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && node --test && tsd"},"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^7.1.0","cli-cursor":"^5.0.0","slice-ansi":"^7.1.2","strip-ansi":"^7.1.2","wrap-ansi":"^9.0.2"},"devDependencies":{"@types/node":"^24.4.0","string-width":"^8.1.0","terminal.js":"^1.0.11","tsd":"^0.33.0","wcwidth":"^1.0.1","xo":"^1.2.2"},"xo":{"rules":{"@typescript-eslint/no-unsafe-argument":"off","import-x/no-extraneous-dependencies":"off","n/no-extraneous-import":"off"}},"gitHead":"fcbbae6d172ff1dba3aa6c87572164af5826cf3e","types":"./index.d.ts","_id":"log-update@7.1.0","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_nodeVersion":"25.3.0","_npmVersion":"11.7.0","dist":{"shasum":"c1b3823f1ba5d2b254ef320d6da61a11400d939d","size":5328,"noattachment":false,"key":"/log-update/-/log-update-7.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-7.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/log-update_7.1.0_1770266060177_0.8711185577004525"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-05T04:34:20.327Z","publish_time":1770266060327,"_source_registry_name":"default","_cnpm_publish_time":1770266060327},"7.0.2":{"name":"log-update","version":"7.0.2","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && node --test && tsd"},"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^7.1.0","cli-cursor":"^5.0.0","slice-ansi":"^7.1.2","strip-ansi":"^7.1.2","wrap-ansi":"^9.0.2"},"devDependencies":{"@types/node":"^24.4.0","string-width":"^8.1.0","terminal.js":"^1.0.11","tsd":"^0.33.0","wcwidth":"^1.0.1","xo":"^1.2.2"},"xo":{"rules":{"@typescript-eslint/no-unsafe-argument":"off","import-x/no-extraneous-dependencies":"off","n/no-extraneous-import":"off"}},"gitHead":"5576a6bc1e74b33af575cbf2dbc14a9cd4be259e","types":"./index.d.ts","_id":"log-update@7.0.2","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_nodeVersion":"20.19.5","_npmVersion":"11.6.1","dist":{"shasum":"eddb498d154f29523a897d4f901a2c3d4b57f8f0","size":5214,"noattachment":false,"key":"/log-update/-/log-update-7.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-7.0.2.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/log-update_7.0.2_1763541231467_0.8504243171163659"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-19T08:33:51.697Z","publish_time":1763541231697,"_source_registry_name":"default","_cnpm_publish_time":1763541231697},"7.0.1":{"name":"log-update","version":"7.0.1","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && node --test && tsd"},"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^7.1.0","cli-cursor":"^5.0.0","slice-ansi":"^7.1.2","strip-ansi":"^7.1.2","wrap-ansi":"^9.0.2"},"devDependencies":{"@types/node":"^24.4.0","string-width":"^8.1.0","terminal.js":"^1.0.11","tsd":"^0.33.0","wcwidth":"^1.0.1","xo":"^1.2.2"},"xo":{"rules":{"@typescript-eslint/no-unsafe-argument":"off","import-x/no-extraneous-dependencies":"off","n/no-extraneous-import":"off"}},"_id":"log-update@7.0.1","gitHead":"b799b2760cd730da20239c218107cd0ffff14192","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_nodeVersion":"20.19.5","_npmVersion":"10.9.2","dist":{"shasum":"aa32a855df2c139512930b994ed19e830cac2506","size":5222,"noattachment":false,"key":"/log-update/-/log-update-7.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-7.0.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/log-update_7.0.1_1758655953811_0.24695690204315346"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-23T19:32:34.339Z","publish_time":1758655954339,"_source_registry_name":"default","_cnpm_publish_time":1758655954339},"7.0.0":{"name":"log-update","version":"7.0.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && node --test && tsd"},"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^7.1.0","cli-cursor":"^5.0.0","slice-ansi":"^7.1.2","strip-ansi":"^7.1.2","wrap-ansi":"^9.0.2"},"devDependencies":{"@types/node":"^24.4.0","string-width":"^8.1.0","terminal.js":"^1.0.11","tsd":"^0.33.0","wcwidth":"^1.0.1","xo":"^1.2.2"},"xo":{"rules":{"@typescript-eslint/no-unsafe-argument":"off","import-x/no-extraneous-dependencies":"off","n/no-extraneous-import":"off"}},"_id":"log-update@7.0.0","gitHead":"8a2344df9718fcdaec4ac6d9fd25c72add849e8b","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_nodeVersion":"20.19.1","_npmVersion":"10.9.2","dist":{"shasum":"699b4d40d2e3bbb05d447eceae2121d8c98986d0","size":5147,"noattachment":false,"key":"/log-update/-/log-update-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-7.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/log-update_7.0.0_1757950430348_0.18003287689614056"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-15T15:33:50.537Z","publish_time":1757950430537,"_source_registry_name":"default","_cnpm_publish_time":1757950430537},"6.1.0":{"name":"log-update","version":"6.1.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^7.0.0","cli-cursor":"^5.0.0","slice-ansi":"^7.1.0","strip-ansi":"^7.1.0","wrap-ansi":"^9.0.0"},"devDependencies":{"@types/node":"^20.14.12","ava":"^6.1.3","terminal.js":"^1.0.11","tsd":"^0.31.1","wcwidth":"^1.0.1","xo":"^0.59.2"},"xo":{"rules":{"@typescript-eslint/no-unsafe-argument":"off"}},"_id":"log-update@6.1.0","gitHead":"ae78e184f5c5f373bac1b99dc37c5f76abea9060","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_nodeVersion":"18.20.2","_npmVersion":"10.6.0","dist":{"shasum":"1a04ff38166f94647ae1af562f4bd6a15b1b7cd4","size":2939,"noattachment":false,"key":"/log-update/-/log-update-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-6.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-update_6.1.0_1722002673415_0.10203210272538898"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-26T14:04:33.571Z","publish_time":1722002673571,"_source_registry_name":"default","_cnpm_publish_time":1722002673571},"6.0.0":{"name":"log-update","version":"6.0.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^6.2.0","cli-cursor":"^4.0.0","slice-ansi":"^7.0.0","strip-ansi":"^7.1.0","wrap-ansi":"^9.0.0"},"devDependencies":{"@types/node":"^20.8.9","ava":"^5.3.1","terminal.js":"^1.0.11","tsd":"^0.29.0","wcwidth":"^1.0.1","xo":"^0.56.0"},"xo":{"rules":{"@typescript-eslint/no-unsafe-argument":"off"}},"types":"./index.d.ts","gitHead":"3fa6be0cfffafdfb21ec060456c4c7dc07d5039d","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_id":"log-update@6.0.0","_nodeVersion":"18.18.2","_npmVersion":"9.2.0","dist":{"shasum":"0ddeb7ac6ad658c944c1de902993fce7c33f5e59","size":2924,"noattachment":false,"key":"/log-update/-/log-update-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-6.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-update_6.0.0_1698518283646_0.09158990253436672"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-28T18:38:03.978Z","publish_time":1698518283978,"_source_registry_name":"default","_cnpm_publish_time":1698518283978},"5.0.1":{"name":"log-update","version":"5.0.1","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^5.0.0","cli-cursor":"^4.0.0","slice-ansi":"^5.0.0","strip-ansi":"^7.0.1","wrap-ansi":"^8.0.1"},"devDependencies":{"@types/node":"^17.0.25","ava":"^4.2.0","terminal.js":"^1.0.11","tsd":"^0.20.0","wcwidth":"^1.0.1","xo":"^0.48.0"},"types":"./index.d.ts","gitHead":"7d74707c93f4da5140dda2b74cb966fd21ff49b5","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_id":"log-update@5.0.1","_nodeVersion":"14.19.1","_npmVersion":"8.3.2","dist":{"shasum":"9e928bf70cb183c1f0c9e91d9e6b7115d597ce09","size":3136,"noattachment":false,"key":"/log-update/-/log-update-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-5.0.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-update_5.0.1_1650475383526_0.6180136921090178"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-20T17:23:10.739Z","publish_time":1650475383743,"_cnpm_publish_time":1650475383743},"5.0.0":{"name":"log-update","version":"5.0.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^5.0.0","cli-cursor":"^4.0.0","slice-ansi":"^5.0.0","wrap-ansi":"^8.0.1"},"devDependencies":{"@types/node":"^16.11.1","ava":"^3.15.0","terminal.js":"^1.0.11","tsd":"^0.18.0","xo":"^0.45.0"},"gitHead":"73424532e029c483b0f5f7155204e33989884ec5","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_id":"log-update@5.0.0","_nodeVersion":"14.17.5","_npmVersion":"7.20.3","dist":{"shasum":"e36011f941665b25c2a5585cefdddd399c910c30","size":3113,"noattachment":false,"key":"/log-update/-/log-update-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-5.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-update_5.0.0_1634542277109_0.1403937329310323"},"_hasShrinkwrap":false,"publish_time":1634542277251,"_cnpm_publish_time":1634542277251},"4.0.0":{"name":"log-update","version":"4.0.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^4.3.0","cli-cursor":"^3.1.0","slice-ansi":"^4.0.0","wrap-ansi":"^6.2.0"},"devDependencies":{"@types/node":"^13.7.4","ava":"^3.3.0","terminal.js":"^1.0.10","tsd":"^0.11.0","xo":"^0.26.1"},"gitHead":"c913bf692090d2948f2bcedfb479a1b91f899037","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_id":"log-update@4.0.0","_nodeVersion":"10.18.1","_npmVersion":"6.13.7","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"589ecd352471f2a1c0c570287543a64dfd20e0a1","size":3161,"noattachment":false,"key":"/log-update/-/log-update-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-4.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-update_4.0.0_1582186037542_0.3543418798824487"},"_hasShrinkwrap":false,"publish_time":1582186037654,"_cnpm_publish_time":1582186037654},"3.4.0":{"name":"log-update","version":"3.4.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^3.2.0","cli-cursor":"^2.1.0","wrap-ansi":"^5.0.0"},"devDependencies":{"@types/node":"^11.12.2","ava":"^1.4.1","terminal.js":"^1.0.10","tsd":"^0.7.1","xo":"^0.24.0"},"gitHead":"7cb447f50942c827a072280c5a451c1f1ff1ea0e","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_id":"log-update@3.4.0","_nodeVersion":"10.18.1","_npmVersion":"6.13.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"3b9a71e00ac5b1185cc193a36d654581c48f97b9","size":3100,"noattachment":false,"key":"/log-update/-/log-update-3.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-3.4.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-update_3.4.0_1580661695979_0.7862256735678375"},"_hasShrinkwrap":false,"publish_time":1580661696229,"_cnpm_publish_time":1580661696229},"3.3.0":{"name":"log-update","version":"3.3.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^3.2.0","cli-cursor":"^2.1.0","wrap-ansi":"^5.0.0"},"devDependencies":{"@types/node":"^11.12.2","ava":"^1.4.1","terminal.js":"^1.0.10","tsd":"^0.7.1","xo":"^0.24.0"},"gitHead":"52732bf744e1248658eac47e4865e3997341f54e","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_id":"log-update@3.3.0","_nodeVersion":"10.16.0","_npmVersion":"6.10.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"3b0501815123f66cb33f300e3dac2a2b6ad3fdf5","size":2813,"noattachment":false,"key":"/log-update/-/log-update-3.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-3.3.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-update_3.3.0_1567522463005_0.2139820345696073"},"_hasShrinkwrap":false,"publish_time":1567522463116,"_cnpm_publish_time":1567522463116},"3.2.0":{"name":"log-update","version":"3.2.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^3.2.0","cli-cursor":"^2.1.0","wrap-ansi":"^5.0.0"},"devDependencies":{"@types/node":"^11.12.2","ava":"^1.4.1","terminal.js":"^1.0.10","tsd":"^0.7.1","xo":"^0.24.0"},"gitHead":"abd40b04b7dcfcc6dba91171ddaf0d7f271e7788","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_id":"log-update@3.2.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"719f24293250d65d0165f4e2ec2ed805ff062eec","size":2866,"noattachment":false,"key":"/log-update/-/log-update-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-3.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-update_3.2.0_1554108214159_0.21840118365596606"},"_hasShrinkwrap":false,"publish_time":1554108214499,"_cnpm_publish_time":1554108214499},"3.1.1":{"name":"log-update","version":"3.1.1","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^3.2.0","cli-cursor":"^2.1.0","wrap-ansi":"^5.0.0"},"devDependencies":{"@types/node":"^11.10.4","ava":"^1.2.1","terminal.js":"^1.0.10","tsd-check":"^0.3.0","xo":"^0.24.0"},"gitHead":"4a91774a0eccff8a449df4d12976746c27bb0cff","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_id":"log-update@3.1.1","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"c8c86e44d9f0ecb816e364ed4e8dfc58760a4573","size":2768,"noattachment":false,"key":"/log-update/-/log-update-3.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-3.1.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-update_3.1.1_1554059652561_0.04898043047180045"},"_hasShrinkwrap":false,"publish_time":1554059652659,"_cnpm_publish_time":1554059652659},"3.1.0":{"name":"log-update","version":"3.1.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^3.2.0","cli-cursor":"^2.1.0","wrap-ansi":"^5.0.0"},"devDependencies":{"@types/node":"^11.10.4","ava":"^1.2.1","terminal.js":"^1.0.10","tsd-check":"^0.3.0","xo":"^0.24.0"},"gitHead":"17712c58a1785b75ace571b00628819fbfa5ec7f","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_id":"log-update@3.1.0","_nodeVersion":"8.15.0","_npmVersion":"6.8.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"fa22abbbcb30f505906758bbbd0f292b71bc2ad9","size":2776,"noattachment":false,"key":"/log-update/-/log-update-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-3.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-update_3.1.0_1551776839291_0.6102797913343514"},"_hasShrinkwrap":false,"publish_time":1551776839436,"_cnpm_publish_time":1551776839436},"3.0.0":{"name":"log-update","version":"3.0.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^3.2.0","cli-cursor":"^2.1.0","wrap-ansi":"^5.0.0"},"devDependencies":{"ava":"^1.2.1","terminal.js":"^1.0.10","xo":"^0.24.0"},"gitHead":"433ad00b8ea26355a0c6c9b8347fc320e720646b","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_id":"log-update@3.0.0","_nodeVersion":"10.15.1","_npmVersion":"6.8.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"a79767dbbd2f1f46e2e763d8459a20c8179525b0","size":2407,"noattachment":false,"key":"/log-update/-/log-update-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-update_3.0.0_1551595446508_0.015726535913616058"},"_hasShrinkwrap":false,"publish_time":1551595446729,"_cnpm_publish_time":1551595446729},"2.3.0":{"name":"log-update","version":"2.3.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && node test.js"},"files":["index.js"],"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^3.0.0","cli-cursor":"^2.0.0","wrap-ansi":"^3.0.1"},"devDependencies":{"xo":"*"},"gitHead":"f6ce1d44d268d630417a02a78a1f91480b7e252f","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_id":"log-update@2.3.0","_shasum":"88328fd7d1ce7938b29283746f0b1bc126b24708","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"88328fd7d1ce7938b29283746f0b1bc126b24708","size":2425,"noattachment":false,"key":"/log-update/-/log-update-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-2.3.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-update-2.3.0.tgz_1509779446402_0.010598235065117478"},"directories":{},"publish_time":1509779446470,"_hasShrinkwrap":false,"_cnpm_publish_time":1509779446470},"2.2.0":{"name":"log-update","version":"2.2.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && node test.js"},"files":["index.js"],"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^3.0.0","cli-cursor":"^2.0.0","wrap-ansi":"^3.0.1"},"devDependencies":{"xo":"*"},"gitHead":"5638b7c22d62f8df1fb58b24f8fdb78179979eb8","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_id":"log-update@2.2.0","_shasum":"e1b034d4325e3436c9df1aa7fd9c9c243bfb9198","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"e1b034d4325e3436c9df1aa7fd9c9c243bfb9198","size":2315,"noattachment":false,"key":"/log-update/-/log-update-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-2.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-update-2.2.0.tgz_1508406472381_0.5303817456588149"},"directories":{},"publish_time":1508406472487,"_cnpm_publish_time":1508406472487,"_hasShrinkwrap":false},"2.1.0":{"name":"log-update","version":"2.1.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && node test.js"},"files":["index.js"],"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^2.0.0","cli-cursor":"^2.0.0","wrap-ansi":"^3.0.1"},"devDependencies":{"xo":"*"},"gitHead":"2fdc4ca01f47df07293304d4421fdadfa33e753f","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_id":"log-update@2.1.0","_shasum":"ea37258b5354edb02e73b29190016c87d1c87141","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ea37258b5354edb02e73b29190016c87d1c87141","size":2125,"noattachment":false,"key":"/log-update/-/log-update-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-2.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-update-2.1.0.tgz_1500840778081_0.451421462232247"},"directories":{},"publish_time":1500840778993,"_hasShrinkwrap":false,"_cnpm_publish_time":1500840778993},"2.0.0":{"name":"log-update","version":"2.0.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && node test.js"},"files":["index.js"],"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^1.0.0","cli-cursor":"^2.0.0","wrap-ansi":"^2.1.0"},"devDependencies":{"xo":"*"},"gitHead":"d44b643f424fdb8672f1770de77517ef273fae07","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_id":"log-update@2.0.0","_shasum":"7f4354d7be1be62b724fcbb3c4b94454c0db5e26","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"7f4354d7be1be62b724fcbb3c4b94454c0db5e26","size":2136,"noattachment":false,"key":"/log-update/-/log-update-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/log-update-2.0.0.tgz_1492667778547_0.9574112843256444"},"directories":{},"publish_time":1492667778772,"_cnpm_publish_time":1492667778772,"_hasShrinkwrap":false},"1.0.2":{"name":"log-update","version":"1.0.2","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/log-update"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^1.0.0","cli-cursor":"^1.0.2"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"678eddf319511f1bc61060fb40d37c0bc6c9efb3","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update","_id":"log-update@1.0.2","_shasum":"19929f64c4093d2d2e7075a1dad8af59c296b8d1","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"19929f64c4093d2d2e7075a1dad8af59c296b8d1","size":2016,"noattachment":false,"key":"/log-update/-/log-update-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-1.0.2.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1443804045977,"_cnpm_publish_time":1443804045977,"_hasShrinkwrap":false},"1.0.1":{"name":"log-update","version":"1.0.1","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-update.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^1.0.0","cli-cursor":"^1.0.2"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"a68643838005d6d42d0861c03e450117a38d1d14","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update#readme","_id":"log-update@1.0.1","_shasum":"6a00c6c08cd4be99d0c50df92432d30c7174af53","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"6a00c6c08cd4be99d0c50df92432d30c7174af53","size":2011,"noattachment":false,"key":"/log-update/-/log-update-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-1.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1442584297506,"_cnpm_publish_time":1442584297506,"_hasShrinkwrap":false},"1.0.0":{"name":"log-update","version":"1.0.0","description":"Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/log-update"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && node test.js"},"files":["index.js"],"keywords":["log","logger","logging","cli","terminal","term","console","shell","update","refresh","overwrite","output","stdout","progress","bar","animation"],"dependencies":{"ansi-escapes":"^1.0.0","cli-cursor":"^1.0.1"},"devDependencies":{"ava":"0.0.4","xo":"*"},"gitHead":"9e5e52a6b47e036744c0f1e297c040bc8197859f","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"homepage":"https://github.com/sindresorhus/log-update","_id":"log-update@1.0.0","_shasum":"b3c9478e0b80e77ffedb820277450dabd8a6dba1","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b3c9478e0b80e77ffedb820277450dabd8a6dba1","size":2015,"noattachment":false,"key":"/log-update/-/log-update-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/log-update/download/log-update-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1439713991178,"_cnpm_publish_time":1439713991178,"_hasShrinkwrap":false}},"readme":"# log-update\n\n> Log by overwriting the previous output in the terminal.\\\n> Useful for rendering progress bars, animations, etc.\n\n![](screenshot.gif)\n\nIt performs partial redraws when possible to reduce flicker.\n\n## Install\n\n```sh\nnpm install log-update\n```\n\n## Usage\n\n```js\nimport logUpdate from 'log-update';\n\nconst frames = ['-', '\\\\', '|', '/'];\nlet index = 0;\n\nsetInterval(() => {\n\tconst frame = frames[index = ++index % frames.length];\n\n\tlogUpdate(\n`\n        ♥♥\n   ${frame} unicorns ${frame}\n        ♥♥\n`\n\t);\n}, 80);\n```\n\nYou can use [yoctocolors](https://github.com/sindresorhus/yoctocolors) or [chalk](https://github.com/chalk/chalk) to colorize the output.\n\n## API\n\n### logUpdate(text…)\n\nLog to stdout.\n\n### logUpdate.clear()\n\nClear the logged output.\n\n### logUpdate.done()\n\nPersist the logged output.\n\nUseful if you want to start a new log session below the current one.\n\n### logUpdate.persist(text…)\n\nWrite text to the terminal that persists, similar to `console.log()`.\n\nUnlike the main `logUpdate()` method which updates in place, `persist()` writes to the terminal in a way that preserves the output in the scrollback history.\n\n```js\nimport logUpdate from 'log-update';\n\n// Update in place\nlogUpdate('Processing...');\nlogUpdate('Still processing...');\n\n// Write permanent output\nlogUpdate.persist('✓ Task complete');\n\n// Continue updating\nlogUpdate('Next task...');\n```\n\n### logUpdateStderr(text…)\n\nLog to stderr.\n\n### logUpdateStderr.clear()\n### logUpdateStderr.done()\n### logUpdateStderr.persist(text…)\n\n### createLogUpdate(stream, options?)\n\nGet a `logUpdate` method that logs to the specified stream.\n\n#### options\n\nType: `object`\n\n##### showCursor\n\nType: `boolean`\\\nDefault: `false`\n\nShow the cursor. This can be useful when a CLI accepts input from a user.\n\n```js\nimport {createLogUpdate} from 'log-update';\n\n// Write output but don't hide the cursor\nconst log = createLogUpdate(process.stdout, {\n\tshowCursor: true\n});\n```\n\n##### defaultWidth\n\nType: `number`\\\nDefault: `80`\n\nThe width to use when the stream doesn't provide a `columns` property.\n\nThis is useful when the output is piped, redirected, or in environments where the terminal size is not available.\n\n```js\nimport {createLogUpdate} from 'log-update';\n\n// Use custom width when the stream doesn't provide columns\nconst log = createLogUpdate(process.stdout, {\n\tdefaultWidth: 120\n});\n```\n\n##### defaultHeight\n\nType: `number`\\\nDefault: `24`\n\nThe height to use when the stream doesn't provide a `rows` property.\n\nThis is useful when the output is piped, redirected, or in environments where the terminal size is not available.\n\n```js\nimport {createLogUpdate} from 'log-update';\n\n// Use custom height when the stream doesn't provide rows\nconst log = createLogUpdate(process.stdout, {\n\tdefaultHeight: 50\n});\n```\n\n## Examples\n\n- [listr](https://github.com/SamVerschueren/listr) - Uses this module to render an interactive task list\n- [ora](https://github.com/sindresorhus/ora) - Uses this module to render awesome spinners\n- [speed-test](https://github.com/sindresorhus/speed-test) - Uses this module to render a [spinner](https://github.com/sindresorhus/elegant-spinner)\n","_attachments":{},"homepage":"https://github.com/sindresorhus/log-update#readme","bugs":{"url":"https://github.com/sindresorhus/log-update/issues"},"license":"MIT"}