{"_id":"tiny-updater","_rev":"3757986","name":"tiny-updater","description":"A small update notifier for NPM packages, useful for CLI apps.","dist-tags":{"latest":"3.5.3"},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"time":{"modified":"2025-03-18T07:12:46.000Z","created":"2021-05-12T12:30:03.917Z","3.5.3":"2025-01-12T19:09:13.359Z","3.5.2":"2024-04-04T23:35:53.006Z","3.5.1":"2023-08-03T17:54:41.140Z","3.5.0":"2023-08-03T15:23:21.208Z","3.4.0":"2023-02-15T03:06:42.111Z","3.3.0":"2023-02-15T01:22:40.677Z","3.2.3":"2023-02-11T04:17:47.348Z","3.2.2":"2023-02-07T16:59:18.710Z","3.2.0":"2023-02-07T16:54:40.963Z","3.0.0":"2023-02-07T16:51:06.952Z","2.0.0":"2022-06-03T23:31:30.579Z","1.0.1":"2021-11-12T19:12:51.848Z","1.0.0":"2021-05-12T12:30:03.917Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-updater.git"},"versions":{"3.5.3":{"name":"tiny-updater","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-updater.git"},"description":"A small update notifier for NPM packages, useful for CLI apps.","license":"MIT","version":"3.5.3","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["tiny","npm","update","notify","notifier","update","updater"],"dependencies":{"ionstore":"^1.0.1","tiny-colors":"^2.2.2","when-exit":"^2.1.4"},"devDependencies":{"fava":"^0.3.4","tsex":"^4.0.2","typescript":"^5.7.3"},"_id":"tiny-updater@3.5.3","gitHead":"720c9affd661be5f7bacc8e528629366e0a57786","bugs":{"url":"https://github.com/fabiospampinato/tiny-updater/issues"},"homepage":"https://github.com/fabiospampinato/tiny-updater#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"978a51a5be7c48169fd628635d93f14db3596771","size":3946,"noattachment":false,"key":"/tiny-updater/-/tiny-updater-3.5.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/tiny-updater/download/tiny-updater-3.5.3.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tiny-updater_3.5.3_1736708953185_0.3545716108131196"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-12T19:09:13.359Z","publish_time":1736708953359,"_source_registry_name":"default","_cnpm_publish_time":1736708953359},"3.5.2":{"name":"tiny-updater","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-updater.git"},"description":"A small update notifier for NPM packages, useful for CLI apps.","version":"3.5.2","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["tiny","npm","update","notify","notifier","update","updater"],"dependencies":{"ionstore":"^1.0.0","tiny-colors":"^2.0.2","when-exit":"^2.1.1"},"devDependencies":{"fava":"^0.2.0","tsex":"^3.0.0","typescript":"^5.1.6"},"_id":"tiny-updater@3.5.2","gitHead":"0ed34f99e3ab830c50d9f342f68be0c040632632","bugs":{"url":"https://github.com/fabiospampinato/tiny-updater/issues"},"homepage":"https://github.com/fabiospampinato/tiny-updater#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"a239177b2ad985aee6987f472c083e59a1700d57","size":5212,"noattachment":false,"key":"/tiny-updater/-/tiny-updater-3.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/tiny-updater/download/tiny-updater-3.5.2.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-updater_3.5.2_1712273752809_0.001945771955828901"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-04T23:35:53.006Z","publish_time":1712273753006,"_source_registry_name":"default","_cnpm_publish_time":1712273753006},"3.5.1":{"name":"tiny-updater","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-updater.git"},"description":"A small update notifier for NPM packages, useful for CLI apps.","version":"3.5.1","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["tiny","npm","update","notify","notifier","update","updater"],"dependencies":{"ionstore":"^1.0.0","tiny-colors":"^2.0.2","when-exit":"^2.1.1"},"devDependencies":{"fava":"^0.2.0","tsex":"^3.0.0","typescript":"^5.1.6"},"gitHead":"d6a37c4dfcdab5bc258457f0e4c434efd743de10","bugs":{"url":"https://github.com/fabiospampinato/tiny-updater/issues"},"homepage":"https://github.com/fabiospampinato/tiny-updater#readme","_id":"tiny-updater@3.5.1","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"shasum":"be43b0c6663211255b38a99ec170dc5887bec34b","size":5180,"noattachment":false,"key":"/tiny-updater/-/tiny-updater-3.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/tiny-updater/download/tiny-updater-3.5.1.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-updater_3.5.1_1691085280942_0.16062288514235212"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-03T17:54:41.140Z","publish_time":1691085281140,"_source_registry_name":"default","_cnpm_publish_time":1691085281140},"3.5.0":{"name":"tiny-updater","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-updater.git"},"description":"A small update notifier for NPM packages, useful for CLI apps.","version":"3.5.0","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["tiny","npm","update","notify","notifier","update","updater"],"dependencies":{"ionstore":"^1.0.0","tiny-colors":"^2.0.2","when-exit":"^2.1.0"},"devDependencies":{"fava":"^0.1.2","tsex":"^2.1.0","typescript":"^4.9.5"},"gitHead":"4fedc4042bdc6c37f230f4b06f993f7553daeb77","bugs":{"url":"https://github.com/fabiospampinato/tiny-updater/issues"},"homepage":"https://github.com/fabiospampinato/tiny-updater#readme","_id":"tiny-updater@3.5.0","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"shasum":"0dbff1328211b261b41ab06adeeac7e9cd660bca","size":5153,"noattachment":false,"key":"/tiny-updater/-/tiny-updater-3.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tiny-updater/download/tiny-updater-3.5.0.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-updater_3.5.0_1691076201080_0.18251275202909545"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-03T15:23:21.208Z","publish_time":1691076201208,"_source_registry_name":"default","_cnpm_publish_time":1691076201208},"3.4.0":{"name":"tiny-updater","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-updater.git"},"description":"A small update notifier for NPM packages, useful for CLI apps.","version":"3.4.0","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["tiny","npm","update","notify","notifier","update","updater"],"dependencies":{"isostore":"^1.0.0","tiny-colors":"^2.0.2","when-exit":"^2.1.0"},"devDependencies":{"fava":"^0.1.2","tsex":"^2.1.0","typescript":"^4.9.5"},"gitHead":"14a5c72052527707c17a7fc261fef5ee36591cfa","bugs":{"url":"https://github.com/fabiospampinato/tiny-updater/issues"},"homepage":"https://github.com/fabiospampinato/tiny-updater#readme","_id":"tiny-updater@3.4.0","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"shasum":"30e1ca2f639ce2d367c37a09005ffc8640c155ce","size":5150,"noattachment":false,"key":"/tiny-updater/-/tiny-updater-3.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tiny-updater/download/tiny-updater-3.4.0.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-updater_3.4.0_1676430401930_0.6117119006553366"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-15T03:06:42.111Z","publish_time":1676430402111,"_cnpm_publish_time":1676430402111},"3.3.0":{"name":"tiny-updater","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-updater.git"},"description":"A small update notifier for NPM packages, useful for CLI apps.","version":"3.3.0","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["tiny","npm","update","notify","notifier","update","updater"],"dependencies":{"tiny-colors":"^2.0.2","when-exit":"^2.1.0"},"devDependencies":{"@types/node":"^18.13.0","fava":"^0.1.2","tsex":"^2.1.0","typescript":"^4.9.5"},"gitHead":"f2a93117a5b11b6a5bec031a4250870b77cf7220","bugs":{"url":"https://github.com/fabiospampinato/tiny-updater/issues"},"homepage":"https://github.com/fabiospampinato/tiny-updater#readme","_id":"tiny-updater@3.3.0","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"shasum":"dc5ebae08912d5294c6f44ac357b8eb62cad715b","size":4243,"noattachment":false,"key":"/tiny-updater/-/tiny-updater-3.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tiny-updater/download/tiny-updater-3.3.0.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-updater_3.3.0_1676424160522_0.42174065376500836"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-15T01:22:40.677Z","publish_time":1676424160677,"_cnpm_publish_time":1676424160677},"3.2.3":{"name":"tiny-updater","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-updater.git"},"description":"A small update notifier for NPM packages, useful for CLI apps.","version":"3.2.3","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["tiny","npm","update","notify","notifier","update","updater"],"dependencies":{"tiny-colors":"^2.0.2","when-exit":"^2.0.0"},"devDependencies":{"@types/node":"^18.13.0","fava":"^0.1.0","tsex":"^2.1.0","typescript":"^4.9.5"},"gitHead":"afb72428e6efd8a2f8701dbd4bd711af233ffe17","bugs":{"url":"https://github.com/fabiospampinato/tiny-updater/issues"},"homepage":"https://github.com/fabiospampinato/tiny-updater#readme","_id":"tiny-updater@3.2.3","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"shasum":"419039a104ea3b92f91d3e833c774f6f20aacab0","size":4240,"noattachment":false,"key":"/tiny-updater/-/tiny-updater-3.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/tiny-updater/download/tiny-updater-3.2.3.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-updater_3.2.3_1676089067195_0.4552941405509625"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-11T04:17:47.348Z","publish_time":1676089067348,"_cnpm_publish_time":1676089067348},"3.2.2":{"name":"tiny-updater","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-updater.git"},"description":"A small update notifier for NPM packages, useful for CLI apps.","version":"3.2.2","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"npm run clean && npm run compile && npm run test"},"keywords":["tiny","npm","update","notify","notifier","update","updater"],"dependencies":{"tiny-colors":"^2.0.1","when-exit":"^2.0.0"},"devDependencies":{"fava":"^0.0.6","tsex":"^1.1.2","typescript":"^4.7.3"},"gitHead":"5806d28a1b28570cb44efa21e4c67271ff24bb50","bugs":{"url":"https://github.com/fabiospampinato/tiny-updater/issues"},"homepage":"https://github.com/fabiospampinato/tiny-updater#readme","_id":"tiny-updater@3.2.2","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"shasum":"975248a378a1281a2c255918a1c9da4c919ea9db","size":4207,"noattachment":false,"key":"/tiny-updater/-/tiny-updater-3.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/tiny-updater/download/tiny-updater-3.2.2.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-updater_3.2.2_1675789158539_0.9644081095467951"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-07T16:59:18.710Z","publish_time":1675789158710,"_cnpm_publish_time":1675789158710},"3.2.0":{"name":"tiny-updater","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-updater.git"},"description":"A small update notifier for NPM packages, useful for CLI apps.","version":"3.2.0","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"npm run clean && npm run compile && npm run test"},"keywords":["tiny","npm","update","notify","notifier","update","updater"],"dependencies":{"tiny-colors":"^2.0.1","when-exit":"^2.0.0"},"devDependencies":{"fava":"^0.0.6","tsex":"^1.1.2","typescript":"^4.7.3"},"gitHead":"a97398b1b4f7e14d94a6d2f96551d6f798d1a8a9","bugs":{"url":"https://github.com/fabiospampinato/tiny-updater/issues"},"homepage":"https://github.com/fabiospampinato/tiny-updater#readme","_id":"tiny-updater@3.2.0","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"shasum":"29650d9ca12bcbf5a473320975b992c5f4776a19","size":4216,"noattachment":false,"key":"/tiny-updater/-/tiny-updater-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tiny-updater/download/tiny-updater-3.2.0.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-updater_3.2.0_1675788880768_0.1934241522129354"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-07T16:54:40.963Z","publish_time":1675788880963,"_cnpm_publish_time":1675788880963},"3.0.0":{"name":"tiny-updater","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-updater.git"},"description":"A small update notifier for NPM packages, useful for CLI apps.","version":"3.0.0","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"npm run clean && npm run compile && npm run test"},"keywords":["tiny","npm","update","notify","notifier","update","updater"],"dependencies":{"tiny-colors":"^2.0.1","when-exit":"^2.0.0"},"devDependencies":{"fava":"^0.0.6","tsex":"^1.1.2","typescript":"^4.7.3"},"gitHead":"799ceb04c448df12e38dd3d7ddf096030c60790f","bugs":{"url":"https://github.com/fabiospampinato/tiny-updater/issues"},"homepage":"https://github.com/fabiospampinato/tiny-updater#readme","_id":"tiny-updater@3.0.0","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"shasum":"5eacd0c7dfe07994fb58f66a73977e4be16d70cf","size":4206,"noattachment":false,"key":"/tiny-updater/-/tiny-updater-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tiny-updater/download/tiny-updater-3.0.0.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-updater_3.0.0_1675788666787_0.6674287817144557"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-07T16:51:06.952Z","publish_time":1675788666952,"_cnpm_publish_time":1675788666952},"2.0.0":{"name":"tiny-updater","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-updater.git"},"description":"A small update notifier for NPM packages, useful for CLI apps.","version":"2.0.0","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"npm run clean && npm run compile && npm run test"},"keywords":["tiny","npm","update","notify","notifier","update","updater"],"dependencies":{"fetch-shim":"^1.1.0","tiny-colors":"^2.0.1","when-exit":"^2.0.0"},"devDependencies":{"fava":"^0.0.6","tsex":"^1.1.2","typescript":"^4.7.3"},"gitHead":"78de81576b8339a1d32765f691d11f7b8cc79adb","bugs":{"url":"https://github.com/fabiospampinato/tiny-updater/issues"},"homepage":"https://github.com/fabiospampinato/tiny-updater#readme","_id":"tiny-updater@2.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"a7c6daf0a86dc3d708ffb18b10efd2207fb664fc","size":4222,"noattachment":false,"key":"/tiny-updater/-/tiny-updater-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tiny-updater/download/tiny-updater-2.0.0.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-updater_2.0.0_1654299090408_0.8688519374598882"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-05T13:21:33.903Z","publish_time":1654299090579,"_cnpm_publish_time":1654299090579},"1.0.1":{"name":"tiny-updater","description":"The smallest update notifier for NPM packages, useful for CLI apps.","version":"1.0.1","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf dist","compile":"tsc --skipLibCheck && tstei","compile:watch":"tsc --skipLibCheck --watch","test":"node test/index.js","prepublishOnly":"npm run clean && npm run compile && npm run test"},"bugs":{"url":"https://github.com/fabiospampinato/tiny-updater/issues"},"license":"MIT","author":{"name":"Fabio Spampinato","email":"spampinabio@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-updater.git"},"keywords":["tiny","npm","update","notify","notifier","update","updater"],"dependencies":{"aborter":"^1.0.0","colorette":"^1.2.2","semver-compare":"^1.0.0","signal-exit":"^3.0.3","simple-get":"^4.0.0"},"devDependencies":{"@types/node":"^16.11.7","@types/semver-compare":"^1.0.1","@types/signal-exit":"^3.0.0","rimraf":"^3.0.0","typescript":"^3.5.3","typescript-transform-export-interop":"^1.0.2"},"gitHead":"cc21d64e64d096470f3a32bf53998428f6f30f61","homepage":"https://github.com/fabiospampinato/tiny-updater#readme","_id":"tiny-updater@1.0.1","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"ed39fd2cfceba5c0e0b680f71941c789bc0e23d4","size":4421,"noattachment":false,"key":"/tiny-updater/-/tiny-updater-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/tiny-updater/download/tiny-updater-1.0.1.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-updater_1.0.1_1636744371645_0.1510116067696694"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T05:33:33.767Z","publish_time":1636744371848,"_cnpm_publish_time":1636744371848},"1.0.0":{"name":"tiny-updater","description":"The smallest update notifier for NPM packages, useful for CLI apps.","version":"1.0.0","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf dist","compile":"tsc --skipLibCheck && tstei","compile:watch":"tsc --skipLibCheck --watch","test":"node test/index.js","prepublishOnly":"npm run clean && npm run compile && npm run test"},"bugs":{"url":"https://github.com/fabiospampinato/tiny-updater/issues"},"license":"MIT","author":{"name":"Fabio Spampinato","email":"spampinabio@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-updater.git"},"keywords":["tiny","npm","update","notify","notifier","update","updater"],"dependencies":{"aborter":"^1.0.0","colorette":"^1.2.2","node-fetch":"^2.6.1","semver-compare":"^1.0.0","signal-exit":"^3.0.3"},"devDependencies":{"@types/node-fetch":"^2.5.10","@types/semver-compare":"^1.0.1","@types/signal-exit":"^3.0.0","rimraf":"^3.0.0","typescript":"^3.5.3","typescript-transform-export-interop":"^1.0.2"},"gitHead":"8c3781db2cc5c8781ecbf6d46142511e458dbec0","homepage":"https://github.com/fabiospampinato/tiny-updater#readme","_id":"tiny-updater@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.4.0","_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"dist":{"shasum":"46b98e164a55820f1edd1d9907349b876f40767c","size":4276,"noattachment":false,"key":"/tiny-updater/-/tiny-updater-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tiny-updater/download/tiny-updater-1.0.0.tgz"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-updater_1.0.0_1620822603756_0.8372989775952611"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T05:33:32.673Z","publish_time":1620822603917,"_cnpm_publish_time":1620822603917}},"readme":"# Tiny Updater\n\nA small update notifier for NPM packages, useful for CLI apps.\n\n## Pros & Cons\n\nThis is basically a bare-bones alternative to [update-notifier](https://github.com/yeoman/update-notifier), with all the pros and cons of that.\n\n- **Small**: This library has only a handful of small and reliable dependencies. This library weighs about ~5kb total.\n- **Bundler-ready**: This library can be bundled, which is important for achieving the best startup times. `update-notifier` on the other hand uses highly dyanmic imports and spawns a child process, if you are using it you can't bundle your CLI app.\n- **Fast**: Startup performance is paramount for CLI apps, in order to improve that you need to bundle your app and make the bundle as small as possible, using this library won't compromise your startup times much.\n- **Bare-bones**: Being lightweight comes at a cost, that cost is mainly less visually-sophisticated update messages written to the console compared to `update-notifier`, but still I think the output is pretty good.\n- **Work in progress**: While this library should suit most use cases it's currently less flexible than `update-notifier`, if you need something fancy this may not work for you.\n\n## Install\n\n```sh\nnpm install tiny-updater\n```\n\n## Usage\n\n```ts\nimport updater from 'tiny-updater';\nimport {name, version} from './package.json';\n\n// Let's check for updates\n\nawait updater ({ name, version, ttl: 86_400_000 });\n\n// If there are no updates available:\n// 1. `false` is returned\n// 2. Nothing is logged to the console\n\n// If there is an update available:\n// 1. `true` is returned\n// 2. At most once a day, right before the process exits, a message like the following is logged to the console:\n// ???? Update available for example-package: 0.1.0 → 1.0.0\n```\n\n## License\n\nMIT © Fabio Spampinato\n","_attachments":{},"homepage":"https://github.com/fabiospampinato/tiny-updater#readme","bugs":{"url":"https://github.com/fabiospampinato/tiny-updater/issues"},"license":"MIT"}