2.0.2 • Published 1 year ago
stringify-log-objects v2.0.2
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"}