gh-db-installer
Version:
This module helps you to install the gh-db
15 lines (13 loc) • 377 B
JavaScript
let nullName = '';
// add modules
const getElement = require('../../functions_collections/functions/getElement');
const moreMethods = (method, name, data, newData, key, path) => {
if(method == 'get'){
let answer = getElement(path, nullName, key, data);
return answer;
}else{
return 'invalid method';
}
}
//exports
module.exports = moreMethods;