UNPKG
json-beautify
Version:
latest (1.1.1)
1.1.1
1.1.0
1.0.1
1.0.0
JSON.stringify with fixed maximum character width.
github.com/gre/json-beautify
gre/json-beautify
json-beautify
/
index.d.ts
11 lines
(9 loc)
•
262 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
/* * json-beautify typings * @author TeodorDre * @Github - https://github.com/TeodorDre * */
declare
module
'json-beautify'
{
export
default
function
beautify
(
value
:
any
,
replacer
:
Function
|
object
|
any
[],
space
:
number
|
string
,
limit
?:
number
):
string
}