sortedjson, guarded against recursion and some unicode confusion.
npm install safe-sortedjson
safe-sortedjson
===============
sortedjson, guarded against recursion and some unicode confusion.
API
---
This module exports one function:
opts is an optional options object that supports these keys:
* All the options from
deepsortobj.
* However, if circular is false-y (e.g. missing),
it will default to a function that always returns the string
'[Circular]'.
* replacer, space: As described in
sortedjson.
* undef: What to return if (data === undefined). Default: undefined
Known issues
------------
* Needs more/better tests and docs.
License
-------
ISC