Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wojtekmaj/is-valid-regon

Check if a number is a valid REGON.
https://github.com/wojtekmaj/is-valid-regon

regon validation

Last synced: 3 months ago
JSON representation

Check if a number is a valid REGON.

Awesome Lists containing this project

README

        

[![npm](https://img.shields.io/npm/v/is-valid-regon.svg)](https://www.npmjs.com/package/is-valid-regon) ![downloads](https://img.shields.io/npm/dt/is-valid-regon.svg) [![CI](https://github.com/wojtekmaj/is-valid-regon/actions/workflows/ci.yml/badge.svg)](https://github.com/wojtekmaj/is-valid-regon/actions)

# 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](https://github.com/wojtekmaj/is-valid-nip): Check if a number is a valid Numer Identyfikacji Podatkowej (NIP).
- [is-valid-pesel](https://github.com/wojtekmaj/is-valid-pesel): Check if a number is a valid PESEL.

## Examples

```ts
isValidREGON('817613530'); // true

isValidREGON('12345678512347'); // true
```

## License

The MIT License.

## Author



Wojciech Maj


Wojciech Maj