crystal-oib
Version, currently master branch1 version
- master branchlatestFeb 27, 2017
github.com/vladimyr/crystal-oib
OIB validator written in crystal-lang
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
crystal-oib:
github: vladimyr/crystal-oib
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.21.0- License
- MIT
- Author
- Dario Vladovic
Dependencies
This version declares no dependencies.
README
crystal-oib 
OIB validator for Crystal.
OIB stands for Osobni Identifikacijski Broj (Personal Identification Number) which is unique numerical identificator used in Republic of Croatia :croatia: for denoting both private and legal entities.
Installation
Add this to your application's shard.yml:
dependencies:
crystal-oib:
github: vladimyr/crystal-oib
Usage
require "crystal-oib"
# accepts strings
OIB.is_valid? "84477684422"
# or numbers
OIB.is_valid? 84477684422
Credits
Inspired by andreicek/oib.js and MiroslavJelaska/oib-validator.js
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Feb 27, 2017
- Crystal
0.21.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/vladimyr/crystal-oib
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1