Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/note.picotech.app/public_html/node_modules/@elevenlabs/elevenlabs-js/core/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toJson = void 0;
exports.fromJson = fromJson;
/**
* Serialize a value to JSON
* @param value A JavaScript value, usually an object or array, to be converted.
* @param replacer A function that transforms the results.
* @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.
* @returns JSON string
*/
const toJson = (value, replacer, space) => {
return JSON.stringify(value, replacer, space);
};
exports.toJson = toJson;
/**
* Parse JSON string to object, array, or other type
* @param text A valid JSON string.
* @param reviver A function that transforms the results. This function is called for each member of the object. If a member contains nested objects, the nested objects are transformed before the parent object is.
* @returns Parsed object, array, or other type
*/
function fromJson(text, reviver) {
return JSON.parse(text, reviver);
}
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0034 ]-- |