Files
Webklar.com/node_modules/is-bun-module/dist/cjs/index.d.ts
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

10 lines
568 B
TypeScript

type SemVerBaseStringified = `${bigint}.${bigint}.${bigint}`;
type SemVerStringifiedWithReleaseName = `${SemVerBaseStringified}-${string}`;
type SemVerStringified = SemVerBaseStringified | SemVerStringifiedWithReleaseName;
type Version = SemVerStringified | "latest";
declare const MINIMUM_BUN_VERSION = "1.0.0";
declare function isBunModule(moduleName: string, bunVersion?: Version): boolean;
declare function isSupportedNodeModule(moduleName: string, bunVersion?: Version): boolean;
export { MINIMUM_BUN_VERSION, type Version, isBunModule, isSupportedNodeModule };