UNPKG

p5-analysis

Version:

API to find, create, and analyze p5.js sketch files.

22 lines (21 loc) 614 B
import { Library } from './Library'; export declare class Category { static all: Category[]; readonly name: string; readonly key: string; readonly description: string; readonly details?: string; private constructor(); static fromProperties(props: CategoryProperties): Category; static load(): void; addFromJsonFile(jsonPath: string): readonly Library[]; static findByKey(key: string): Category | undefined; get libraries(): Library[]; } declare type CategoryProperties = { key: string; name?: string; description: string; details?: string; }; export {};