Symbol added as a property on all strings. Use this as the most convenient way to convert a plain string to an HHMM object.
Utility for doing math on strings in the format "hh:mm", such as adding, subtracting, intersection testing and modulo
This package works with Node.js, Deno, Bun, BrowsersIt is unknown whether this package works with Cloudflare Workers




JSR Score
94%
Published
a year ago (0.1.2)
Add Package
deno add jsr:@revosw/hhmm
Import symbol
import { HM } from "@revosw/hhmm";
Import directly with a jsr specifier
import { HM } from "jsr:@revosw/hhmm";
Add Package
pnpm i jsr:@revosw/hhmm
pnpm dlx jsr add @revosw/hhmm
Import symbol
import { HM } from "@revosw/hhmm";
Add Package
yarn add jsr:@revosw/hhmm
yarn dlx jsr add @revosw/hhmm
Import symbol
import { HM } from "@revosw/hhmm";
Add Package
vlt install jsr:@revosw/hhmm
Import symbol
import { HM } from "@revosw/hhmm";
Add Package
npx jsr add @revosw/hhmm
Import symbol
import { HM } from "@revosw/hhmm";
Add Package
bunx jsr add @revosw/hhmm
Import symbol
import { HM } from "@revosw/hhmm";