UNPKG

keep-a-changelog

Version:

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

17 lines 497 B
/** * Returns true if the string can be parsed as SemVer. * * @example Usage * ```ts * import { canParse } from "@std/semver/can-parse"; * import { assert, assertFalse } from "@std/assert"; * * assert(canParse("1.2.3")); * assertFalse(canParse("invalid")); * ``` * * @param value The version string to check * @returns `true` if the string can be parsed as SemVer, `false` otherwise */ export declare function canParse(value: string): boolean; //# sourceMappingURL=can_parse.d.ts.map