This release is 1 version behind 5.0.1 — the latest version of @rebeccastevens/uom-types. Jump to latest
@rebeccastevens/uom-types@5.0.0Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
Typesafe units with no runtime overhead.
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
100%
Published
3 months ago (5.0.0)
Donate
Any donations would be much appreciated. 😄
Enterprise Users
uom-types
is available as part of the Tidelift Subscription.
Tidelift is working with the maintainers of uom-types
and a growing network of open source maintainers
to ensure your open source software supply chain meets enterprise standards now and into the future.
Learn more.
Installation
npm
# Install with npm npm install uom-types # Install with pnpm pnpm add uom-types # Install with yarn yarn add uom-types # Install with bun bun add uom-types
jsr
# Install in a node project npx jsr add @rebeccastevens/uom-types # Install in a deno project deno add jsr:@rebeccastevens/uom-types # Install in a bun project bunx jsr add @rebeccastevens/uom-types
Documentation
Check out RebeccaStevens.github.io/uom-types for the documentation.
Inspiration
Inspired by uom-ts.
Built and signed on
View transparency logGitHub Actions
Add Package
deno add jsr:@rebeccastevens/uom-types
Import symbol
import * as uom_types from "@rebeccastevens/uom-types";
---- OR ----
Import directly with a jsr specifier
import * as uom_types from "jsr:@rebeccastevens/uom-types";
Add Package
npx jsr add @rebeccastevens/uom-types
Import symbol
import * as uom_types from "@rebeccastevens/uom-types";
Add Package
yarn dlx jsr add @rebeccastevens/uom-types
Import symbol
import * as uom_types from "@rebeccastevens/uom-types";
Add Package
pnpm dlx jsr add @rebeccastevens/uom-types
Import symbol
import * as uom_types from "@rebeccastevens/uom-types";
Add Package
bunx jsr add @rebeccastevens/uom-types
Import symbol
import * as uom_types from "@rebeccastevens/uom-types";