This is an utility library for the Icelandic national identification number scheme.
Kennitala = require('kennitala');
Kennitala.validate('0101012239');
Kennitala.generate(new Date()); //Generates a valid ssid for the given date, useful for testing
Include the minified library and a Kennitala object should be available.
git pull http://github.com/StefanKjartansson/kennitala-js.git
npm install
make
make test