https://github.com/StefanKjartansson/kennitala-js
Utility library for the unique national identification number used by the Icelandic government
https://github.com/StefanKjartansson/kennitala-js
Last synced: 23 days ago
JSON representation
Utility library for the unique national identification number used by the Icelandic government
- Host: GitHub
- URL: https://github.com/StefanKjartansson/kennitala-js
- Owner: StefanKjartansson
- Created: 2012-11-22T14:26:00.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-22T17:00:52.000Z (over 12 years ago)
- Last Synced: 2025-03-20T12:04:22.288Z (26 days ago)
- Language: CoffeeScript
- Size: 104 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - kennitala-js - Utility library for the unique national identification number used by the Icelandic government (CoffeeScript)
README
This is an utility library for the Icelandic national identification number scheme.
[](http://travis-ci.org/StefanKjartansson/kennitala-js)
## Usage
Kennitala = require('kennitala');
Kennitala.validate('0101012239');
Kennitala.generate(new Date()); //Generates a valid ssid for the given date, useful for testing## Browser
Include the minified library and a Kennitala object should be available.
## Development
git pull http://github.com/StefanKjartansson/kennitala-js.git
npm install
make## Testing
make test