UNPKG

@visulima/cerebro

Version:

A delightful toolkit for building cross-runtime CLIs for Node.js, Deno, and Bun.

15 lines (14 loc) 476 B
declare const hasNewVersion: ({ alwaysRun, debug, distTag: distributionTag, pkg, registryUrl, updateCheckInterval, }: UpdateNotifierOptions) => Promise<string | undefined>; export type UpdateNotifierOptions = { alwaysRun?: boolean; debug?: boolean; distTag?: string; pkg: { name: string; version: string; }; registryUrl?: string; shouldNotifyInNpmScript?: boolean; updateCheckInterval?: number; }; export default hasNewVersion;