Lines Matching refs:update
1 # update-notifier [![Build Status](https://travis-ci.org/yeoman/update-notifier.svg?branch=master)]…
22 $ npm install update-notifier
31 const updateNotifier = require('update-notifier');
40 const updateNotifier = require('update-notifier');
43 // Checks for available update and returns an instance
49 // `notifier.update` contains some useful info about the update
50 console.log(notifier.update);
69 if (notifier.update) {
70 console.log(`Update available: ${notifier.update.latest}`);
77 …update notifier and it's not within the interval threshold, it will asynchronously check with npm …
78 The update check is done in a unref'ed [child process](https://nodejs.org/api/child_process.html#ch…
80 …update, and even if an update is available, it will wait the specified `updateCheckInterval` befor…
87 …re is an available update. Accepts options defined below. Returns an instance with an `.update` pr…
112 #### callback(error, update)
116 … update directly and report right away. Not recommended as you won't get the benefits explained in…
122 Only notifies if there is an update and the process is [TTY](https://nodejs.org/api/process.html#pr…
138 Default: [See above screenshot](https://github.com/yeoman/update-notifier#update-notifier-)
140 Message that will be shown when an update is available.
165 …the ability to opt-out of the update notifier by changing the `optOut` property to `true` in `~/.c…
167 …-variables.md) `NO_UPDATE_NOTIFIER` with any value or by using the `--no-update-notifier` flag on …
174 …update strategy to CLI tools, where everyone is always on the latest version. We first tried autom…
188 [And 1600+ more…](https://www.npmjs.org/browse/depended/update-notifier)