UNPKG

vike

Version:

The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.

20 lines (19 loc) 817 B
export { isImportPathNpmPackage }; export { isImportPathNpmPackageOrPathAlias }; export { assertIsImportPathNpmPackage }; export { isPathAliasRecommended }; export { getNpmPackageName }; export { parseNpmPackage }; export { isDistinguishable }; declare function getNpmPackageName(str: string): null | string; declare function isImportPathNpmPackage(str: string, { cannotBePathAlias }: { cannotBePathAlias: true; }): boolean; declare function isImportPathNpmPackageOrPathAlias(str: string): boolean; declare function assertIsImportPathNpmPackage(str: string): void; declare function isPathAliasRecommended(alias: string): boolean; declare function isDistinguishable(alias: string): boolean; declare function parseNpmPackage(str: string | undefined): null | { pkgName: string; importPath: null | string; };