UNPKG
sys-prettier-json
Version:
latest (1.0.1)
1.0.1
1.0.0
Format JSON with beautiful color
github.com/ishin-pie/sys-prettier-json
ishin-pie/sys-prettier-json
sys-prettier-json
/
dist
/
types.d.ts
11 lines
(9 loc)
•
267 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
type
ColorOptionsProps
= {
jsonNumber
?:
string
;
jsonBoolean
?:
string
;
jsonNull
?:
string
;
jsonKey
?:
string
;
jsonValue
?:
string
; };
export
const
prettyJson
:
(
json
:
string
,
options
?:
ColorOptionsProps
) =>
string
;
//# sourceMappingURL=types.d.ts.map