{"_id":"update-check","_rev":"308925","name":"update-check","description":"Minimalistic update notifications for command line interfaces","dist-tags":{"latest":"1.5.4"},"maintainers":[{"name":"igorklopov","email":"igor@klopov.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"leo","email":"799947425@qq.com"},{"name":"matheuss","email":"me@matheus.top"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"rauchg","email":""}],"time":{"modified":"2021-06-03T19:41:56.000Z","created":"2018-04-08T21:02:36.665Z","1.5.4":"2020-04-13T17:40:02.844Z","1.5.3":"2019-01-09T09:40:57.285Z","1.5.2":"2018-05-22T14:04:29.356Z","1.5.1":"2018-05-18T12:33:45.002Z","1.5.0":"2018-05-14T19:18:08.987Z","1.4.0":"2018-04-30T20:27:10.275Z","1.3.2":"2018-04-22T20:14:38.977Z","1.3.1":"2018-04-09T19:02:14.385Z","1.3.0":"2018-04-09T08:10:05.737Z","1.2.0":"2018-04-09T02:00:35.497Z","1.1.0":"2018-04-09T01:22:34.514Z","1.0.0":"2018-04-08T21:02:36.665Z"},"users":{"zuojiang":true},"author":{"name":"leo"},"repository":{"type":"git","url":"git+https://github.com/zeit/update-check.git"},"versions":{"1.5.4":{"name":"update-check","version":"1.5.4","description":"Minimalistic update notifications for command line interfaces","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"zeit-eslint --ext .jsx,.js .","lint-staged":"git diff --diff-filter=ACMRT --cached --name-only '*.js' '*.jsx' | xargs zeit-eslint"},"repository":{"type":"git","url":"git+https://github.com/zeit/update-check.git"},"keywords":["update","notifications","checker","notifier"],"author":{"name":"leo"},"license":"MIT","devDependencies":{"@zeit/eslint-config-node":"0.2.13","@zeit/git-hooks":"0.1.4","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"dependencies":{"registry-auth-token":"3.3.2","registry-url":"3.1.0"},"gitHead":"fbba1e84543850bb10cb76a8276c2f2defcb5d13","bugs":{"url":"https://github.com/zeit/update-check/issues"},"homepage":"https://github.com/zeit/update-check#readme","_id":"update-check@1.5.4","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"shasum":"5b508e259558f1ad7dbc8b4b0457d4c9d28c8743","size":4615,"noattachment":false,"key":"/update-check/-/update-check-1.5.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/update-check/download/update-check-1.5.4.tgz"},"maintainers":[{"name":"igorklopov","email":"igor@klopov.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"leo","email":"799947425@qq.com"},{"name":"matheuss","email":"me@matheus.top"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"rauchg","email":""}],"_npmUser":{"name":"leo","email":"mindrun@icloud.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/update-check_1.5.4_1586799602672_0.9360918603409989"},"_hasShrinkwrap":false,"publish_time":1586799602844,"_cnpm_publish_time":1586799602844},"1.5.3":{"name":"update-check","version":"1.5.3","description":"Minimalistic update notifications for command line interfaces","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"zeit-eslint --ext .jsx,.js .","lint-staged":"git diff --diff-filter=ACMRT --cached --name-only '*.js' '*.jsx' | xargs zeit-eslint"},"repository":{"type":"git","url":"git+https://github.com/zeit/update-check.git"},"keywords":["update","notifications","checker","notifier"],"author":{"name":"leo"},"license":"MIT","devDependencies":{"@zeit/eslint-config-node":"0.2.13","@zeit/git-hooks":"0.1.4","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"dependencies":{"registry-auth-token":"3.3.2","registry-url":"3.1.0"},"gitHead":"8b9a0dc5713a3de41b7aee33334a6ecee74ae17c","bugs":{"url":"https://github.com/zeit/update-check/issues"},"homepage":"https://github.com/zeit/update-check#readme","_id":"update-check@1.5.3","_npmVersion":"6.5.0-next.0","_nodeVersion":"11.6.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"45240fcfb8755a7c7fa68bbdd9eda026a41639ed","size":4438,"noattachment":false,"key":"/update-check/-/update-check-1.5.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/update-check/download/update-check-1.5.3.tgz"},"maintainers":[{"name":"igorklopov","email":"igor@klopov.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"leo","email":"799947425@qq.com"},{"name":"matheuss","email":"me@matheus.top"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"rauchg","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/update-check_1.5.3_1547026857167_0.133443321761614"},"_hasShrinkwrap":false,"publish_time":1547026857285,"_cnpm_publish_time":1547026857285},"1.5.2":{"name":"update-check","version":"1.5.2","description":"Minimalistic update notifications for command line interfaces","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"zeit-eslint --ext .jsx,.js .","lint-staged":"git diff --diff-filter=ACMRT --cached --name-only '*.js' '*.jsx' | xargs zeit-eslint"},"repository":{"type":"git","url":"git+https://github.com/zeit/update-check.git"},"keywords":["update","notifications","checker","notifier"],"author":{"name":"leo"},"license":"MIT","devDependencies":{"@zeit/eslint-config-node":"0.2.13","@zeit/git-hooks":"0.1.4","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"dependencies":{"registry-auth-token":"3.3.2","registry-url":"3.1.0"},"gitHead":"d42fa5b4de6a2cf3dd5b23c27766eb91a885eb0d","bugs":{"url":"https://github.com/zeit/update-check/issues"},"homepage":"https://github.com/zeit/update-check#readme","_id":"update-check@1.5.2","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"2fe09f725c543440b3d7dabe8971f2d5caaedc28","size":4358,"noattachment":false,"key":"/update-check/-/update-check-1.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/update-check/download/update-check-1.5.2.tgz"},"maintainers":[{"name":"igorklopov","email":"igor@klopov.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"leo","email":"799947425@qq.com"},{"name":"matheuss","email":"me@matheus.top"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"rauchg","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/update-check_1.5.2_1526997869280_0.7719718990351183"},"_hasShrinkwrap":false,"publish_time":1526997869356,"_cnpm_publish_time":1526997869356},"1.5.1":{"name":"update-check","version":"1.5.1","description":"Minimalistic update notifications for command line interfaces","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"zeit-eslint --ext .jsx,.js .","lint-staged":"git diff --diff-filter=ACMRT --cached --name-only '*.js' '*.jsx' | xargs zeit-eslint"},"repository":{"type":"git","url":"git+https://github.com/zeit/update-check.git"},"keywords":["update","notifications","checker","notifier"],"author":{"name":"leo"},"license":"MIT","devDependencies":{"@zeit/eslint-config-node":"0.2.13","@zeit/git-hooks":"0.1.4","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"dependencies":{"registry-auth-token":"3.3.2","registry-url":"3.1.0"},"gitHead":"1b75a6c387344c924065672c3211cae7e11bd6ca","bugs":{"url":"https://github.com/zeit/update-check/issues"},"homepage":"https://github.com/zeit/update-check#readme","_id":"update-check@1.5.1","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"24fc52266273cb8684d2f1bf9687c0e52dcf709f","size":4365,"noattachment":false,"key":"/update-check/-/update-check-1.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/update-check/download/update-check-1.5.1.tgz"},"maintainers":[{"name":"igorklopov","email":"igor@klopov.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"leo","email":"799947425@qq.com"},{"name":"matheuss","email":"me@matheus.top"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"rauchg","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/update-check_1.5.1_1526646824930_0.16943933443747583"},"_hasShrinkwrap":false,"publish_time":1526646825002,"_cnpm_publish_time":1526646825002},"1.5.0":{"name":"update-check","version":"1.5.0","description":"Minimalistic update notifications for command line interfaces","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"zeit-eslint --ext .jsx,.js .","lint-staged":"git diff --diff-filter=ACMRT --cached --name-only '*.js' '*.jsx' | xargs zeit-eslint"},"repository":{"type":"git","url":"git+https://github.com/zeit/update-check.git"},"keywords":["update","notifications","checker","notifier"],"author":{"name":"leo"},"license":"MIT","devDependencies":{"@zeit/eslint-config-node":"0.2.13","@zeit/git-hooks":"0.1.4","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"dependencies":{"registry-auth-token":"3.3.2","registry-url":"3.1.0"},"gitHead":"eee937d6e6af3080a9d3916dcfc587e19e39fb58","bugs":{"url":"https://github.com/zeit/update-check/issues"},"homepage":"https://github.com/zeit/update-check#readme","_id":"update-check@1.5.0","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"9faf2d4ff3c50bcf058df61cebf690c8b484e7bc","size":4332,"noattachment":false,"key":"/update-check/-/update-check-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/update-check/download/update-check-1.5.0.tgz"},"maintainers":[{"name":"igorklopov","email":"igor@klopov.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"leo","email":"799947425@qq.com"},{"name":"matheuss","email":"me@matheus.top"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"rauchg","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/update-check_1.5.0_1526325488858_0.0014307740197918584"},"_hasShrinkwrap":false,"publish_time":1526325488987,"_cnpm_publish_time":1526325488987},"1.4.0":{"name":"update-check","version":"1.4.0","description":"Minimalistic update notifications for command line interfaces","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"zeit-eslint --ext .jsx,.js .","lint-staged":"git diff --diff-filter=ACMRT --cached --name-only '*.js' '*.jsx' | xargs zeit-eslint"},"repository":{"type":"git","url":"git+https://github.com/zeit/update-check.git"},"keywords":["update","notifications","checker","notifier"],"author":{"name":"leo"},"license":"MIT","devDependencies":{"@zeit/eslint-config-node":"0.2.13","@zeit/git-hooks":"0.1.4","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"dependencies":{"registry-auth-token":"3.3.2","registry-url":"3.1.0"},"gitHead":"9d272f609f99bc7a424708727f5b237b46637b72","bugs":{"url":"https://github.com/zeit/update-check/issues"},"homepage":"https://github.com/zeit/update-check#readme","_id":"update-check@1.4.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"800235ba1bd1ace324e646eb055799a09aed8b28","size":4325,"noattachment":false,"key":"/update-check/-/update-check-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/update-check/download/update-check-1.4.0.tgz"},"maintainers":[{"name":"igorklopov","email":"igor@klopov.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"leo","email":"799947425@qq.com"},{"name":"matheuss","email":"me@matheus.top"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"rauchg","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/update-check_1.4.0_1525120030192_0.5965475378867531"},"_hasShrinkwrap":false,"publish_time":1525120030275,"_cnpm_publish_time":1525120030275},"1.3.2":{"name":"update-check","version":"1.3.2","description":"Minimalistic update notifications for command line interfaces","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"zeit-eslint --ext .jsx,.js .","lint-staged":"git diff --diff-filter=ACMRT --cached --name-only '*.js' '*.jsx' | xargs zeit-eslint"},"repository":{"type":"git","url":"git+https://github.com/zeit/update-check.git"},"keywords":["update","notifications","checker","notifier"],"author":{"name":"leo"},"license":"MIT","devDependencies":{"@zeit/eslint-config-node":"0.2.13","@zeit/git-hooks":"0.1.4","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"dependencies":{"registry-auth-token":"3.3.2","registry-url":"3.1.0"},"gitHead":"859dde951dc6177af1446f4ce9e1a5ad6e2e3893","bugs":{"url":"https://github.com/zeit/update-check/issues"},"homepage":"https://github.com/zeit/update-check#readme","_id":"update-check@1.3.2","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"460f9e9ab24820367f3edbeb4d4142d9936ff171","size":4297,"noattachment":false,"key":"/update-check/-/update-check-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/update-check/download/update-check-1.3.2.tgz"},"maintainers":[{"name":"igorklopov","email":"igor@klopov.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"leo","email":"799947425@qq.com"},{"name":"matheuss","email":"me@matheus.top"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"rauchg","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/update-check_1.3.2_1524428078926_0.95407610925072"},"_hasShrinkwrap":false,"publish_time":1524428078977,"_cnpm_publish_time":1524428078977},"1.3.1":{"name":"update-check","version":"1.3.1","description":"Minimalistic update notifications for command line interfaces","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"zeit-eslint --ext .jsx,.js .","lint-staged":"git diff --diff-filter=ACMRT --cached --name-only '*.js' '*.jsx' | xargs zeit-eslint"},"repository":{"type":"git","url":"git+https://github.com/zeit/update-check.git"},"keywords":["update","notifications","checker","notifier"],"author":{"name":"leo"},"license":"MIT","devDependencies":{"@zeit/eslint-config-node":"0.2.13","@zeit/git-hooks":"0.1.4","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"dependencies":{"registry-auth-token":"3.3.2","registry-url":"3.1.0"},"gitHead":"146a6fe5db2e38ffd5da00c4d840ddb6c0ccef3f","bugs":{"url":"https://github.com/zeit/update-check/issues"},"homepage":"https://github.com/zeit/update-check#readme","_id":"update-check@1.3.1","_npmVersion":"5.8.0","_nodeVersion":"9.10.1","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"cb04d617f98851957a4a0e239c4fb9c0881f8f85","size":4286,"noattachment":false,"key":"/update-check/-/update-check-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/update-check/download/update-check-1.3.1.tgz"},"maintainers":[{"name":"igorklopov","email":"igor@klopov.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"leo","email":"799947425@qq.com"},{"name":"matheuss","email":"me@matheus.top"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"rauchg","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/update-check_1.3.1_1523300534275_0.9715595122417608"},"_hasShrinkwrap":false,"publish_time":1523300534385,"_cnpm_publish_time":1523300534385},"1.3.0":{"name":"update-check","version":"1.3.0","description":"Minimalistic update notifications for command line interfaces","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"zeit-eslint --ext .jsx,.js .","lint-staged":"git diff --diff-filter=ACMRT --cached --name-only '*.js' '*.jsx' | xargs zeit-eslint"},"repository":{"type":"git","url":"git+https://github.com/zeit/update-check.git"},"keywords":["update","notifications","checker","notifier"],"author":{"name":"leo"},"license":"MIT","devDependencies":{"@zeit/eslint-config-node":"0.2.13","@zeit/git-hooks":"0.1.4","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"dependencies":{"registry-auth-token":"3.3.2","registry-url":"3.1.0"},"gitHead":"e3e9fa29e6f3ff14be6cb97e1725c284e1086e49","bugs":{"url":"https://github.com/zeit/update-check/issues"},"homepage":"https://github.com/zeit/update-check#readme","_id":"update-check@1.3.0","_npmVersion":"5.8.0","_nodeVersion":"9.10.1","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"3b2b857ba1858da1ffdb0516a7ad0edddcfd6851","size":4221,"noattachment":false,"key":"/update-check/-/update-check-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/update-check/download/update-check-1.3.0.tgz"},"maintainers":[{"name":"igorklopov","email":"igor@klopov.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"leo","email":"799947425@qq.com"},{"name":"matheuss","email":"me@matheus.top"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"rauchg","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/update-check_1.3.0_1523261405682_0.39852090513063576"},"_hasShrinkwrap":false,"publish_time":1523261405737,"_cnpm_publish_time":1523261405737},"1.2.0":{"name":"update-check","version":"1.2.0","description":"Minimalistic update notifications for command line interfaces","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"zeit-eslint --ext .jsx,.js .","lint-staged":"git diff --diff-filter=ACMRT --cached --name-only '*.js' '*.jsx' | xargs zeit-eslint"},"repository":{"type":"git","url":"git+https://github.com/zeit/update-check.git"},"keywords":["update","notifications","checker","notifier"],"author":{"name":"leo"},"license":"MIT","devDependencies":{"@zeit/eslint-config-node":"0.2.13","@zeit/git-hooks":"0.1.4","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"dependencies":{"registry-auth-token":"3.3.2","registry-url":"3.1.0"},"gitHead":"bea8912f97b271fa7c6db5ec930bee6fc0ed3d13","bugs":{"url":"https://github.com/zeit/update-check/issues"},"homepage":"https://github.com/zeit/update-check#readme","_id":"update-check@1.2.0","_npmVersion":"5.8.0","_nodeVersion":"9.10.1","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"c5a2c0aaa629d5fedba74892226bca7c16006677","size":4274,"noattachment":false,"key":"/update-check/-/update-check-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/update-check/download/update-check-1.2.0.tgz"},"maintainers":[{"name":"igorklopov","email":"igor@klopov.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"leo","email":"799947425@qq.com"},{"name":"matheuss","email":"me@matheus.top"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"rauchg","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/update-check_1.2.0_1523239235394_0.7605982540806622"},"_hasShrinkwrap":false,"publish_time":1523239235497,"_cnpm_publish_time":1523239235497},"1.1.0":{"name":"update-check","version":"1.1.0","description":"Minimalistic update notifications for command line interfaces","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"zeit-eslint --ext .jsx,.js .","lint-staged":"git diff --diff-filter=ACMRT --cached --name-only '*.js' '*.jsx' | xargs zeit-eslint"},"repository":{"type":"git","url":"git+https://github.com/zeit/update-check.git"},"keywords":["update","notifications","checker","notifier"],"author":{"name":"leo"},"license":"MIT","devDependencies":{"@zeit/eslint-config-node":"0.2.13","@zeit/git-hooks":"0.1.4","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"dependencies":{"registry-auth-token":"3.3.2","registry-url":"3.1.0"},"gitHead":"7cb943622e1d0e518315058005054773131b11be","bugs":{"url":"https://github.com/zeit/update-check/issues"},"homepage":"https://github.com/zeit/update-check#readme","_id":"update-check@1.1.0","_npmVersion":"5.8.0","_nodeVersion":"9.10.1","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"6a08a20c1dd1f672e1c62ae66d8708bf8f250507","size":4256,"noattachment":false,"key":"/update-check/-/update-check-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/update-check/download/update-check-1.1.0.tgz"},"maintainers":[{"name":"igorklopov","email":"igor@klopov.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"leo","email":"799947425@qq.com"},{"name":"matheuss","email":"me@matheus.top"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"rauchg","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/update-check_1.1.0_1523236954440_0.36498633879666853"},"_hasShrinkwrap":false,"publish_time":1523236954514,"_cnpm_publish_time":1523236954514},"1.0.0":{"name":"update-check","version":"1.0.0","description":"Minimalistic update notifications for command line interfaces","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"zeit-eslint --ext .jsx,.js .","lint-staged":"git diff --diff-filter=ACMRT --cached --name-only '*.js' '*.jsx' | xargs zeit-eslint"},"repository":{"type":"git","url":"git+https://github.com/zeit/update-check.git"},"keywords":["update","notifications","checker","notifier"],"author":{"name":"leo"},"license":"MIT","devDependencies":{"@zeit/eslint-config-node":"0.2.13","@zeit/git-hooks":"0.1.4","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"gitHead":"1acd32f881791b7a01dba6b69e57f74e351de221","bugs":{"url":"https://github.com/zeit/update-check/issues"},"homepage":"https://github.com/zeit/update-check#readme","_id":"update-check@1.0.0","_npmVersion":"5.8.0","_nodeVersion":"9.10.1","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"8782c53386e32fb3a3dcdcafd61a3e1fcffb10d7","size":3667,"noattachment":false,"key":"/update-check/-/update-check-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/update-check/download/update-check-1.0.0.tgz"},"maintainers":[{"name":"igorklopov","email":"igor@klopov.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"leo","email":"799947425@qq.com"},{"name":"matheuss","email":"me@matheus.top"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"rauchg","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/update-check_1.0.0_1523221356619_0.8917801228572761"},"_hasShrinkwrap":false,"publish_time":1523221356665,"_cnpm_publish_time":1523221356665}},"readme":"# update-check \n\n[![npm version](https://img.shields.io/npm/v/update-check.svg)](https://www.npmjs.com/package/update-check)\n[![install size](https://packagephobia.now.sh/badge?p=update-check)](https://packagephobia.now.sh/result?p=update-check)\n\nThis is a very minimal approach to update checking for [globally installed](https://docs.npmjs.com/getting-started/installing-npm-packages-globally) packages.\n\nBecause it's so simple, the error surface is very tiny and your user's are guaranteed to receive the update message if there's a new version.\n\nYou can read more about the reasoning behind this project [here](https://twitter.com/notquiteleo/status/983193273224200192).\n\n## Usage\n\nFirstly, install the package with [yarn](https://yarnpkg.com/en/)...\n\n```bash\nyarn add update-check\n```\n\n...or [npm](https://www.npmjs.com/):\n\n```bash\nnpm install update-check\n```\n\nNext, initialize it.\n\nIf there's a new update available, the package will return the content of latest version's `package.json` file:\n\n```js\nconst pkg = require('./package');\nconst checkForUpdate = require('update-check');\n\nlet update = null;\n\ntry {\n\tupdate = await checkForUpdate(pkg);\n} catch (err) {\n\tconsole.error(`Failed to check for updates: ${err}`);\n}\n\nif (update) {\n\tconsole.log(`The latest version is ${update.latest}. Please update!`);\n}\n```\n\nThat's it! You're done.\n\n### Configuration\n\nIf you want, you can also pass options to customize the package's behavior:\n\n```js\nconst pkg = require('./package');\nconst checkForUpdate = require('update-check');\n\nlet update = null;\n\ntry {\n\tupdate = await checkForUpdate(pkg, {\n\t\tinterval: 3600000,  // For how long to cache latest version (default: 1 day)\n\t\tdistTag: 'canary'   // A npm distribution tag for comparision (default: 'latest')\n\t});\n} catch (err) {\n\tconsole.error(`Failed to check for updates: ${err}`);\n}\n\nif (update) {\n\tconsole.log(`The latest version is ${update.latest}. Please update!`);\n}\n```\n\n## Contributing\n\n1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device\n2. Link the package to the global module directory: `npm link`\n3. Within the module you want to test your local development instance of the package, just link it: `npm link update-check`. Instead of the default one from npm, node will now use your clone.\n\n## Author\n\nLeo Lamprecht ([@notquiteleo](https://twitter.com/notquiteleo)) - [ZEIT](https://zeit.co)\n\n","_attachments":{},"homepage":"https://github.com/zeit/update-check#readme","bugs":{"url":"https://github.com/zeit/update-check/issues"},"license":"MIT"}