keep-a-changelog
Version:
Node package to parse and generate changelogs following the [keepachangelog](https://keepachangelog.com/) format.
17 lines • 605 B
TypeScript
import Changelog from "./Changelog.js";
import Release from "./Release.js";
export interface Options {
/**
* Custom function to create Release instances.
* Needed if you want to use a custom Release class.
*/
releaseCreator: (version?: string, date?: string, description?: string) => Release;
/**
* If false, releases will not be sorted automatically.
* Default is true.
*/
autoSortReleases: boolean;
}
/** Parse a markdown string */
export default function parser(markdown: string, options?: Partial<Options>): Changelog;
//# sourceMappingURL=parser.d.ts.map