diff --git a/lib/jsonb.js b/lib/jsonb.js index 647f0cc..b1b35dc 100644 --- a/lib/jsonb.js +++ b/lib/jsonb.js @@ -22,7 +22,7 @@ export function parse(s) { return parseJson(s, reviver) } -function stringify(data) { +export function stringify(data) { if (data === undefined) return undefined if (data === null) return 'null' if (Number.isNaN(data)) return 'null'