valibot-schema-roman-numerals
Version:
Valibot schema for Roman numerals
32 lines (21 loc) • 1.18 kB
Markdown
# valibot-schema-roman-numerals
> Valibot schema for Roman numerals.
[](https://github.com/idleberg/valibot-schemas/blob/main/LICENSE)
[](https://www.npmjs.org/package/valibot-schema-roman-numerals)
[](https://jsr.io/@idleberg/valibot-schema-roman-numerals)
[](https://github.com/idleberg/valibot-schemas/actions/workflows/node.yml)
## Installation
```shell
# NodeJS
npm install valibot-schema-roman-numerals
# Deno
deno add jsr:@idleberg/valibot-schema-roman-numerals
```
## Usage
```javascript
import { parse } from "valibot";
import { romanNumeral } from "valibot-schema-roman-numerals";
const output = parse(romanNumeral(), "MCMLXXVI");
```
## License
This work is licensed under [The MIT License](LICENSE).