tahamajs's picture
download
raw
632 Bytes
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.formatJSObject = void 0;
const tslib_1 = require("tslib");
const util_1 = tslib_1.__importDefault(require("util"));
function formatJSObject(o) {
try {
o = JSON.parse(JSON.stringify(o));
}
catch (e) {
throw new Error(`Cannot parse object as JSON: ${e.stack ? e.stack : e}`);
}
return util_1.default.inspect(o, {
compact: false,
breakLength: Infinity,
depth: Infinity,
maxArrayLength: Infinity,
maxStringLength: Infinity,
});
}
exports.formatJSObject = formatJSObject;

Xet Storage Details

Size:
632 Bytes
·
Xet hash:
3237a850433e96b0f17803fa2da50b2fb5968784d9e4d3d0b692a37ee7ef5d55

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.