UNPKG

260 BJavaScriptView Raw
1// @ts-check
2
3import { Console } from "console";
4
5/**
6 * The `console` API, but all output is to `stderr`. This allows `console.group`
7 * to be used with `console.error`.
8 */
9export default new Console({
10 stdout: process.stderr,
11 stderr: process.stderr,
12});