inferPackage
inferPackage(
dataPackage,options?):Promise<{$schema?:string;contributors?:Contributor[];created?:string;description?:string;homepage?:string;image?:string;keywords?:string[];licenses?:License[];name?:string;resources:object[];sources?:Source[];title?:string;version?:string; }>
Defined in: all/package/infer.ts:12
Parameters
Section titled “Parameters”dataPackage
Section titled “dataPackage”PartialPackage
options?
Section titled “options?”InferDialectOptions & InferSchemaOptions
Returns
Section titled “Returns”Promise<{ $schema?: string; contributors?: Contributor[]; created?: string; description?: string; homepage?: string; image?: string; keywords?: string[]; licenses?: License[]; name?: string; resources: object[]; sources?: Source[]; title?: string; version?: string; }>