UNPKG

npm-fetch-changelog

Version:

fetch the changelog for an npm package from GitHub

9 lines (8 loc) 202 B
export type Release = { version: string; header: string; body?: string; date?: Date; error?: Error; }; export default function parseChangelog(text: string): Record<string, Release>;