{"name":"@zeit/check-updates","version":"1.0.2","description":"Consistent update notifications for packages","main":"index.js","repository":{"type":"git","url":"git+https://github.com/zeit/check-updates.git"},"keywords":["update","notifier"],"author":{"name":"leo"},"license":"MIT","dependencies":{"chalk":"^2.3.0","ms":"^2.1.1","update-notifier":"^2.3.0"},"gitHead":"8e437b1536dc5ead933c4293a78d7cb07a178d90","bugs":{"url":"https://github.com/zeit/check-updates/issues"},"homepage":"https://github.com/zeit/check-updates#readme","_id":"@zeit/check-updates@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-evopLKn4sjrblkFkW7yTp3/0VWEDc4ye4F/F/zcGXlKm46d3mRNmNeOXhwp8J77gcoSt8pvoyJf5s9SZNPUqgA==","shasum":"3f5edadc7dee2cf12852b703c7db588d406064c2","tarball":"http://registry-npm.ywwl.com/@zeit/check-updates/download/@zeit/check-updates-1.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHh7zfUGMMWbn9ShOueTlzQKyiSrapw6f98yKQ/MxT3JAiEA2z/rhRixEo35ACDfcHKFtXZeMZLt3tC+3Ezx0SHjyI0="}],"size":1788,"noattachment":false,"key":"/@zeit/check-updates/-/@zeit/check-updates-1.0.2.tgz"},"maintainers":[{"name":"lipp","email":"gelipp@gmail.com"},{"name":"zeit-bot","email":"npm-bot@zeit.co"},{"name":"iamevilrabbit","email":"hello@evilrabb.it"},{"name":"javivelasco","email":"javier.velasco86@gmail.com"},{"name":"timneutkens","email":"tim@timneutkens.nl"},{"name":"deniscapp","email":"deniscapp19@gmail.com"},{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"tootallnate","email":"nathan@tootallnate.net"},{"name":"sergiodxa","email":"sergiodxa@gmail.com"},{"name":"qix","email":"i.am.qix@gmail.com"},{"name":"olliv","email":"olli@zeit.co"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"leo","email":"leo@zeit.co"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"igorklopov","email":"igor@klopov.com"},{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},{"name":"matheuss","email":"me@matheus.top"},{"name":"zeit-admin","email":"team@zeit.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/check-updates-1.0.2.tgz_1515754638543_0.6951269330456853"},"directories":{},"deprecated":"Please use `update-check` instead.","readme":"# check-updates\n\nThis package makes it very easy to implement update notifications into ZEIT packages:\n\n<img width=\"900\" alt=\"screen shot 2018-01-12 at 15 01 33\" src=\"https://user-images.githubusercontent.com/6170607/34878177-8b2aa826-f7a9-11e7-90df-2c3c7f02a774.png\">\n\n## Usage\n\nFirstly, install the package:\n\n```bash\nnpm install @zeit/check-updates\n```\n\nNext, initialize it:\n\n```js\nconst pkg = require('./package')\nconst updateNotifier = require('@zeit/check-updates')\n\nupdateNotifier(pkg, 'Project Name')\n```\n\nYou can even pass a millisecond interval for the cache (a day by default):\n\n```js\nupdateNotifier(pkg, 'Project Name', 80000)\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 @zeit/check-updates`. 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","publish_time":1515754639476,"_cnpm_publish_time":1515754639476,"dist-tags":{"latest":"1.1.1"}}