joi-pesel
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

joi-pesel

PESEL validation rule for Joi

Installation

npm install joi-pesel

How to use

import Joi from 'joi';
import JoiPesel from 'joi-pesel';

const joiPesel = Joi.extend(JoiPesel);

joiPesel.string().pesel().validate('12345678901');

Readme

Keywords

Package Sidebar

Install

npm i joi-pesel

Weekly Downloads

1

Version

1.0.6

License

Apache-2.0

Unpacked Size

15.9 kB

Total Files

7

Last publish

Collaborators

  • mbak