1.0.0 • Published 5 years ago
@netrabbit/apply-updates v1.0.0
apply-updates
This module lets you run initialization functions in your Node.js application. It takes in a list of functions and calls a Done callback once all supplied functions were completed successfully.
Install
$ npm install --save @netrabbit/apply-updates
Example
const Updater = require('@netrabbit/apply-updates');
const updater = new Updater('./updates');
updater.applyUpdates(function(err) {
if (err) {
console.log(err);
}
console.log('Successfully applied updates');
});
License
MIT
1.0.0
5 years ago