{"name":"@zeit/check-updates","version":"1.0.0","description":"Consistent update notifications for packages","main":"index.js","repository":{"type":"git","url":"check-updates"},"keywords":["update","notifier"],"author":{"name":"leo"},"license":"MIT","dependencies":{"chalk":"^2.3.0","ms":"^2.1.1","update-notifier":"^2.3.0"},"gitHead":"e154111d39e5f10f35e8ebd93d4bc134eca88d00","_id":"@zeit/check-updates@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-diQ7BGJk9b9bzZ4kyXj3dZ88Uc4aQANr795T4+GDmZGcP2AAOFbpWDG1aFztMc4bnZ6WCQngf7mDAN0aC7XeEw==","shasum":"d7f3705e99197a46ce9782796f801d9c55f47713","tarball":"http://registry-npm.ywwl.com/@zeit/check-updates/download/@zeit/check-updates-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEFHZKopqFvTUnUGMkQP28ngMNq7+oft2PvmXRg2b0tiAiBkooXEt9hSpbWifA+NIJ7pACFAwcHvsLOMaltYMivMCw=="}],"size":1329,"noattachment":false,"key":"/@zeit/check-updates/-/@zeit/check-updates-1.0.0.tgz"},"maintainers":[{"name":"leo","email":"leo@zeit.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/check-updates-1.0.0.tgz_1515753932797_0.3303416292183101"},"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":1515753933711,"_cnpm_publish_time":1515753933711,"dist-tags":{"latest":"1.1.1"}}