jsm-treeify
Version:
A library to display JavaScript objects as colorized, tree-like structures in the console.
9 lines (8 loc) • 298 B
TypeScript
/**
* Transforms an object into a colored, tree-like string representation for console output.
*
* @param obj - The object to display as a tree.
* @returns A formatted string representation of the object as a tree.
*/
declare const jsmTreeify: (obj: any) => string;
export default jsmTreeify;