Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/niksy/is-valid-oib

Check if OIB is valid.
https://github.com/niksy/is-valid-oib

Last synced: about 2 months ago
JSON representation

Check if OIB is valid.

Awesome Lists containing this project

README

        

# is-valid-oib

Check if [OIB](http://en.wikipedia.org/wiki/Personal_identification_number_(Croatia)) is valid.

## Installation

```sh
npm install is-valid-oib --save
```

## Examples

```js
var valid = require('is-valid-oib');

valid('40565203589'); // => true
valid('29704949120'); // => false
```

## License

MIT © [Ivan Nikolić](http://ivannikolic.com)