InspectorUsage
Usage
Last updated:
Usage
Depth Control
import { inspect } from "@visulima/inspector";
inspect(deepObject, { depth: 2 });
inspect(deepObject, { depth: Infinity });Colors
inspect(object, { colors: true });Circular References
const obj = { name: "test" };
obj.self = obj;
inspect(obj); // Handles circular reference