fast-safe-stringify
fast-safe-stringify copied to clipboard
Safely and quickly serialize JavaScript objects
Beside adding BigInt support, this PR also ads node 12 to .travis.yml and updates standard to `^14.0.0` Not really sure about the new method names `jsonSafe` and `deterministicJsonSafe`. Resolves: #41...
The follow example returns `undefined`: ``` import safeStringify from "fast-safe-stringify"; safeStringify(undefined) // -> returns undefined ``` But the type definition only specifies `string` as return type, we should update it...
Could you please make a feature for maxStringLength in order to trimm just the strings for a given length(like in utils), it would be a great addition to this module
Listed a few additional files and folders which are currently included in the published npm package, while they should not be.
as titled.
Whenever I try to use fast-safe-stringify with a Mongoose Object, I get the error "this.$__path is not a function". I tried investigating exactly what is it in mongoose documents that...
Would be useful if this lib gracefully handled native `bigint` values. Could simply `toString()` them
We find it quite useful to remove circular references without having to go through a full stringify and then re-parse.