https://github.com/rebeccastevens/uom-types
https://github.com/rebeccastevens/uom-types
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rebeccastevens/uom-types
- Owner: RebeccaStevens
- License: bsd-3-clause
- Created: 2023-07-06T00:55:40.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-23T16:10:52.000Z (about 1 year ago)
- Last Synced: 2024-04-23T21:22:39.393Z (about 1 year ago)
- Language: TypeScript
- Size: 2.1 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# 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/template-typescript-node-package/actions/workflows/release.yml)
[](https://codecov.io/gh/RebeccaStevens/template-typescript-node-package)
[](https://RebeccaStevens.github.io/uom-types/)\
[](https://github.com/prettier/prettier)
[](https://github.com/RebeccaStevens/template-typescript-node-package/discussions)
[](https://opensource.org/licenses/BSD-3-Clause)
[](https://commitizen.github.io/cz-cli/)
[](https://github.com/semantic-release/semantic-release)## 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).