Skip to content

loadDescriptor

loadDescriptor(path, options?): Promise<Record<string, any>>

Defined in: descriptor/load.ts:10

Load a descriptor (JSON Object) from a file or URL Uses dynamic imports to work in both Node.js and browser environments Supports HTTP, HTTPS, FTP, and FTPS protocols

string

boolean

Promise<Record<string, any>>