const sqlstring = require("sqlstring") module.exports = (val) => { if(!isNaN(val)) { return val } else { return sqlstring.escape(val) } };