Debian Codegraph @

types-jsan/README.md

raw
1 # Installation
2 > `npm install --save @types/jsan`
3
4 # Summary
5 This package contains type definitions for jsan (https://github.com/kolodny/jsan).
6
7 # Details
8 Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsan.
9 ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsan/index.d.ts)
10 ````ts
11 export interface Options {
12 date?: boolean;
13 function?: boolean;
14 regex?: boolean;
15 undefined?: boolean;
16 error?: boolean;
17 symbol?: boolean;
18 map?: boolean;
19 set?: boolean;
20 nan?: boolean;
21 infinity?: boolean;
22 refs?: boolean;
23 circular?: unknown;
24 }
25
26 export function stringify(
27 value: unknown,
28 replacer?: (key: string, value: unknown) => unknown | Array<number | string> | null,
29 space?: string | number,
30 _options?: Options | boolean,
31 ): string;
32
33 export function parse(
34 text: string,
35 reviver?: (key: string, value: unknown) => unknown,
36 ): unknown;
37
38 ````
39
40 ### Additional Details
41 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
42 * Dependencies: none
43
44 # Credits
45 These definitions were written by [Nathan Bierema](https://github.com/Methuselah96).