• File: stringify.js
  • Full Path: /var/www/nodejs/Notifications_Imali_API/node_modules/@hapi/hoek/lib/stringify.js
  • Date Modified: 10/26/1985 3:15 PM
  • File size: 224 bytes
  • MIME-type: text/plain
  • Charset: utf-8
'use strict';

const internals = {};


module.exports = function (...args) {

    try {
        return JSON.stringify(...args);
    }
    catch (err) {
        return '[Cannot display object: ' + err.message + ']';
    }
};