{"name":"@zeit/check-updates","version":"1.1.1","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.2","ms":"2.1.1","update-notifier":"2.3.0"},"gitHead":"1d5bbbe10ca10ca59313ff0dd75bac397cb33b7c","bugs":{"url":"https://github.com/zeit/check-updates/issues"},"homepage":"https://github.com/zeit/check-updates#readme","_id":"@zeit/check-updates@1.1.1","_npmVersion":"5.7.1","_nodeVersion":"9.7.1","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-bnexm+3A6hmJxnW9FXO0sIUaeBYKmEIr9zgu2WuttdhTVnRxo3ykiGhJBgdYthzJmDpSQ6quKrSVL8Bso3IXAg==","shasum":"1bee858fd3f9b8633b0fc23dff53cb17343331c0","tarball":"http://registry-npm.ywwl.com/@zeit/check-updates/download/@zeit/check-updates-1.1.1.tgz","fileCount":6,"unpackedSize":18007,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfDhDZdz0ytltL7uF3ApA392rQl/9p7bBNVQe/3ssxJAIhAIpC1Qp48DAATcBngHG5d+FSyANHdbS9EKmMUPhPfk0V"}],"size":6572,"noattachment":false,"key":"/@zeit/check-updates/-/@zeit/check-updates-1.1.1.tgz"},"maintainers":[{"email":"arunoda.susiripala@gmail.com","name":"arunoda"},{"email":"hello@evilrabb.it","name":"iamevilrabbit"},{"email":"igor@klopov.com","name":"igorklopov"},{"email":"jamo@isotalo.fi","name":"jamo"},{"email":"javier.velasco86@gmail.com","name":"javivelasco"},{"email":"leo@zeit.co","name":"leo"},{"email":"gelipp@gmail.com","name":"lipp"},{"email":"me@matheus.top","name":"matheuss"},{"email":"naoyuki.kanezawa@gmail.com","name":"nkzawa"},{"email":"olli@zeit.co","name":"olliv"},{"email":"pranay.gp@gmail.com","name":"pranaygp"},{"email":"i.am.qix@gmail.com","name":"qix"},{"email":"rauchg@gmail.com","name":"rauchg"},{"email":"sergiodxa@gmail.com","name":"sergiodxa"},{"email":"tim@timneutkens.nl","name":"timneutkens"},{"email":"nathan@tootallnate.net","name":"tootallnate"},{"email":"team@zeit.co","name":"zeit-admin"},{"email":"npm-bot@zeit.co","name":"zeit-bot"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/check-updates_1.1.1_1520357449641_0.10932750506432476"},"_hasShrinkwrap":false,"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":1520357449736,"_cnpm_publish_time":1520357449736,"dist-tags":{"latest":"1.1.1"}}