stringify-log-objects
v2.0.2
Published
Stringify as JSON in order to log: objects, arrays, errors
Readme
stringify-log-objects
Stringify as JSON in order to log: objects, arrays, errors.
Usage
typescript:
import {stringify} from "stringify-log-objects";
let str = stringify(new TypeError('hehe'), false);
// {"message":"hehe"}