p5-analysis
Version:
API to find, create, and analyze p5.js sketch files.
16 lines (15 loc) • 370 B
TypeScript
export declare class Cdn {
private readonly matcher;
static all: Cdn[];
static create({ matcher }: {
matcher: RegExp;
}): Cdn;
static parseUrl(url: string): {
packageName: string;
} | null;
private constructor();
matchesUrl(path: string): boolean;
parseUrl(url: string): {
packageName: string;
} | null;
}