uom-types
Version:
Typesafe units with no runtime overhead.
70 lines (46 loc) • 2.73 kB
Markdown
<div align="center">
# Units of Measure Types
Typesafe units with no runtime overhead.
[](https://www.npmjs.com/package/uom-types)
[](https://jsr.io/@rebeccastevens/uom-types)
[](https://github.com/RebeccaStevens/uom-types/actions/workflows/release.yml)
[](https://codecov.io/gh/RebeccaStevens/uom-types)
[](https://RebeccaStevens.github.io/uom-types/)\
[](https://github.com/prettier/prettier)
[](https://github.com/RebeccaStevens/uom-types/discussions)
[](https://opensource.org/licenses/BSD-3-Clause)
[](https://commitizen.github.io/cz-cli/)
[](https://github.com/semantic-release/semantic-release)
</div>
## Donate
[Any donations would be much appreciated](./DONATIONS.md). 😄
### Enterprise Users
`uom-types` is available as part of the [Tidelift Subscription](https://tidelift.com/funding/github/npm/uom-types).
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.](https://tidelift.com/subscription/pkg/npm-uom-types?utm_source=npm-uom-types&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
## Installation
### npm
```sh
# 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
```sh
# 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](https://RebeccaStevens.github.io/uom-types/) for the documentation.
## Inspiration
Inspired by [uom-ts](https://github.com/mindbrave/uom-ts).