UNPKG

@theguild/components

Version:
17 lines (15 loc) 538 B
type Package = { readme: string; createdAt: string; updatedAt: string; description: string; weeklyNPMDownloads: number; }; declare function withoutStartingSlash(v: string): string; declare function withoutTrailingSlash(v: string): string; declare function withStartingSlash(v: string): string; declare const fetchPackageInfo: (packageName: string, githubReadme?: { repo: string; path: string; }) => Promise<Package>; export { fetchPackageInfo, withStartingSlash, withoutStartingSlash, withoutTrailingSlash };