Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wojtekmaj/is-valid-pesel
Check if a number is a valid PESEL.
https://github.com/wojtekmaj/is-valid-pesel
pesel validation
Last synced: about 1 month ago
JSON representation
Check if a number is a valid PESEL.
- Host: GitHub
- URL: https://github.com/wojtekmaj/is-valid-pesel
- Owner: wojtekmaj
- License: mit
- Created: 2021-03-19T12:30:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-18T09:37:03.000Z (about 2 months ago)
- Last Synced: 2024-09-19T10:13:03.747Z (about 2 months ago)
- Topics: pesel, validation
- Language: TypeScript
- Homepage:
- Size: 3.1 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[![npm](https://img.shields.io/npm/v/is-valid-pesel.svg)](https://www.npmjs.com/package/is-valid-pesel) ![downloads](https://img.shields.io/npm/dt/is-valid-pesel.svg) [![CI](https://github.com/wojtekmaj/is-valid-pesel/actions/workflows/ci.yml/badge.svg)](https://github.com/wojtekmaj/is-valid-pesel/actions)
# Is-Valid-PESEL
Check if a number is a valid PESEL.
## tl;dr
- Install by executing `npm install is-valid-pesel` or `yarn add is-valid-pesel`.
- Import by adding `import isValidPESEL from 'is-valid-pesel'`.
- Use it by writing `const valid = isValidPESEL('50062373028')`## See also
- [is-valid-nip](https://github.com/wojtekmaj/is-valid-nip): Check if a number is a valid Numer Identyfikacji Podatkowej (NIP).
- [is-valid-regon](https://github.com/wojtekmaj/is-valid-regon): Check if a number is a valid REGON.## Examples
```ts
isValidPESEL('50062373028'); // true
```## License
The MIT License.
## Author