Dynamic module update-notifier

Index

Functions

Functions

t(settings?: ISettings): IResult

Parameters

Returns

IResult

IResult: IResult

public update: IUpdateInfo

public notify(message?: string)

Parameters

  • message?: string optional

ISettings: ISettings

optional public callback?: (error: any, update?: "update-notifier".t.IUpdateInfo) => any

optional public packageName?: string

optional public packagePath?: string

optional public packageVersion?: string

optional public registryUrl?: string

optional public updateCheckInterval?: number

optional public updateCheckTimeout?: number

IUpdateInfo: IUpdateInfo

public current: string

public date: string

public latest: string

public name: string

public type: string