Open this example in the interactive library
Source code
import * as util from "node:util";
console.log(util.inspect({ count: 2 }, { colors: false }));
Sample output
{ count: 2 }
Open this example in the interactive library
import * as util from "node:util";
console.log(util.inspect({ count: 2 }, { colors: false }));
{ count: 2 }