@visulima/cerebro
Version:
A delightful toolkit for building cross-runtime CLIs for Node.js, Deno, and Bun.
12 lines (11 loc) • 420 B
TypeScript
/**
* Retrieves the last update check timestamp for the specified package.
* @param packageName
* @returns - The timestamp of the last update check, or undefined if the check failed.
*/
export declare const getLastUpdate: (packageName: string) => number | undefined;
/**
* Saves the last update time for a given package.
* @param packageName
*/
export declare const saveLastUpdate: (packageName: string) => void;