UNPKG

get-published-version

Version:

Gets the currently published version of a package

6 lines 276 B
/** * @param {string} moduleName Name of the remote package to check * @returns {string} The current published version of the package */ export declare function getPublishedVersion(moduleName: string, registry?: string): Promise<string>; //# sourceMappingURL=index.d.ts.map