Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/niksy/is-valid-oib
- Owner: niksy
- License: mit
- Created: 2015-01-27T20:12:58.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-27T20:21:17.000Z (almost 10 years ago)
- Last Synced: 2024-04-30T03:43:47.744Z (8 months ago)
- Language: JavaScript
- Size: 113 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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)