Skip to main content

@std/semver@1.0.3
Built and signed on GitHub Actions

Parsing and comparing of semantic versions (SemVer)

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
5 months ago (1.0.3)

Functions

f
compare

Compare two SemVers.

Add Package

deno add jsr:@std/semver

Import symbol

import * as mod from "@std/semver/compare";

---- OR ----

Import directly with a jsr specifier

import * as mod from "jsr:@std/semver/compare";

Add Package

npx jsr add @std/semver

Import symbol

import * as mod from "@std/semver/compare";

Add Package

yarn dlx jsr add @std/semver

Import symbol

import * as mod from "@std/semver/compare";

Add Package

pnpm dlx jsr add @std/semver

Import symbol

import * as mod from "@std/semver/compare";

Add Package

bunx jsr add @std/semver

Import symbol

import * as mod from "@std/semver/compare";