jsonify-console (npm): Overrides console.log and console.error so that a single JSON string is written to stdout or stderr, respectively. Handles Error objects and circular references.
Keywords: json|console|error|log