Socket
Book a DemoInstallSign in
Socket

is-valid-pesel

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-valid-pesel

Check if a number is a valid PESEL

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
0
Created
Source

npm downloads CI

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: Check if a number is a valid Numer Identyfikacji Podatkowej (NIP).
  • is-valid-regon: Check if a number is a valid REGON.

Examples

isValidPESEL('50062373028'); // true

License

The MIT License.

Author

Wojciech Maj Wojciech Maj

Keywords

validation

FAQs

Package last updated on 20 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts