/var/www/cobraambalaj/node_modules/consola/src/utils
NameSizeModeActions
chalk.js6600644editdlrm
date.js1170644editdlrm
error.js2620644editdlrm
fancy.js1390644editdlrm
format.js6830644editdlrm
global.js13020644editdlrm
index.js4570644editdlrm
stream.js4900644editdlrm
string.js9970644editdlrm
Edit: /var/www/cobraambalaj/node_modules/consola/src/utils/index.js (457B)
export function isPlainObject (obj) { return Object.prototype.toString.call(obj) === '[object Object]' } // TODO: remove for consola@3 export function isLogObj (arg) { // Should be plain object if (!isPlainObject(arg)) { return false } // Should contains either 'message' or 'args' field if (!arg.message && !arg.args) { return false } // Handle non-standard error objects if (arg.stack) { return false } return true }