UNPKG

@softwareventures/maintain-project

Version:

Automatically create and maintain TypeScript projects with standard settings for Software Ventures Limited

7 lines 249 B
import { coerce, parse } from "semver"; import { notNull } from "@softwareventures/nullable"; const zero = notNull(parse("0.0.0")); export function looseCoerce(version) { return coerce(version) ?? zero; } //# sourceMappingURL=loose-coerce.js.map