Utility library for the unique national identification number used by the Icelandic government
CoffeeScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src initial commit Nov 22, 2012
test
.gitignore
.npmignore
.travis.yml
Makefile
README.md
kennitala.js
kennitala.min.js
package.json

README.md

This is an utility library for the Icelandic national identification number scheme.

Build Status

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