UNPKG

faastjs

Version:

Serverless batch computing made simple.

20 lines (19 loc) 569 B
export interface NpmInstallArgs { packageJsonContents: string; LayerName: string; FunctionName: string; region: string; quiet?: boolean; retentionInDays: number; } export interface AwsLayerInfo { Version: number; LayerVersionArn: string; LayerName: string; } export interface NpmInstallReturn { installLog: string; layerInfo: AwsLayerInfo; zipSize?: number; } export declare function npmInstall({ LayerName, packageJsonContents, FunctionName, region, quiet, retentionInDays }: NpmInstallArgs): Promise<NpmInstallReturn>;