UNPKG

keep-a-changelog

Version:

Node package to parse and generate changelogs following the [keepachangelog](https://keepachangelog.com/) format.

22 lines 535 B
import type { SemVer } from "./types.js"; /** * Format a SemVer object into a string. * * @example Usage * ```ts * import { format } from "@std/semver/format"; * import { assertEquals } from "@std/assert"; * * const semver = { * major: 1, * minor: 2, * patch: 3, * }; * assertEquals(format(semver), "1.2.3"); * ``` * * @param version The SemVer to format * @returns The string representation of a semantic version. */ export declare function format(version: SemVer): string; //# sourceMappingURL=format.d.ts.map