jsdb-server
Version:
JSDB Written using Chrome's V8, implemented in Node.js. Having as its main objectives to be: simple, minimalist and effective for data persistence. In addition to easy integration with other programming languages.
19 lines (12 loc) • 315 B
JavaScript
const /* Declaring imports */
_server = require('./../transport/server');
var console = process.console || global.console;
module.exports = {
roles : [ 'grantAll' ],
execute : function(transaction, callback) {
console.log('Stopping JSDB...');
callback();
_server.stop();
process.exit(0);
}
}