putil-stringify
Alternate to native JSON.stringify. It offers more control in replacer callback, etc formatting dates with custom format. And also replacer callback can have 3 arguments which gives current object being serialized.
const a = a: 1 b: '2' c: d: ;let s = ;console;
const a = a: num: 5;const b = a: a b: 'Hello';let s = ;console;
Installation
$ npm install putil-stringify --save
Node Compatibility
- node
>= 6.x
;