1.1.3 • Published 7 years ago

npm-auto-update v1.1.3

Weekly downloads
27
License
ISC
Repository
github
Last release
7 years ago

npm-auto-update

:dizzy: JavaScript interface to programmically update your application from npm

Features

Checks if the version on npm is newer then you'r local version (from package.json). if true its possible todo a global update

Constructor

Pass a log object e.g. console

const npmAutoUpdate = new (require('npm-auto-update'))(console);
npmAutoUpdate.checkForUpdate((error, result) => {
            if(result) {
                this.npmAutoUpdate.updatePackage((error, result) => {
                });
            }
});
1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago