1.2.4 • Published 7 months ago

is-valid-regon v1.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

npm downloads CI

Is-Valid-REGON

Check if a number is a valid REGON.

tl;dr

  • Install by executing npm install is-valid-regon or yarn add is-valid-regon.
  • Import by adding import isValidREGON from 'is-valid-regon'.
  • Use it by writing const valid = isValidREGON('817613530')

See also

  • is-valid-nip: Check if a number is a valid Numer Identyfikacji Podatkowej (NIP).
  • is-valid-pesel: Check if a number is a valid PESEL.

Examples

isValidREGON('817613530'); // true

isValidREGON('12345678512347'); // true

License

The MIT License.

Author

1.2.4

7 months ago

1.2.3

1 year ago

1.2.0

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.1.0

2 years ago

1.0.0

3 years ago