Fediversity/website/node_modules/@hapi/hoek/lib/stringify.js
2024-11-13 15:47:11 +01:00

15 lines
224 B
JavaScript
Executable file

'use strict';
const internals = {};
module.exports = function (...args) {
try {
return JSON.stringify(...args);
}
catch (err) {
return '[Cannot display object: ' + err.message + ']';
}
};