⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
nodejs
/
@types
/
json-stable-stringify
/
Edit File: index.d.ts
// Type definitions for json-stable-stringify 1.0 // Project: https://github.com/substack/json-stable-stringify // Definitions by: Matt Frantz <https://github.com/mhfrantz> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /** * Deterministic version of JSON.stringify() so you can get a consistent hash from stringified results. * * @returns Deterministic json result. */ declare function stringify(obj: any, opts?: stringify.Comparator | stringify.Options): string; declare namespace stringify { interface Element { key: string; value: any; } type Comparator = (a: Element, b: Element) => number; type Replacer = (key: string, value: any) => any; interface Options { /** * Custom comparator for key */ cmp?: Comparator; /** * Indent the output for pretty-printing. * * Supported is either a string or a number of spaces. */ space?: string | number; /** * Option to replace values to simpler values */ replacer?: Replacer; /** * true to allow cycles, by marking the entries as __cycle__. */ cycles?: boolean; } } export = stringify;
Simpan