json-formatter-js
Version:
JSON Formatter core library
8 lines (7 loc) • 493 B
TypeScript
export declare function getType(value: any): string;
export declare function isObject(value: any): boolean;
export declare function getObjectName(object: Object): string;
export declare function getValuePreview(type: string, object: Object, value: string): string;
export declare function getPreview(object: any): string;
export declare function cssClass(className: string): string;
export declare function createElement(type: string, className?: string, content?: Element | string): Element;