Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 633 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 633 Bytes

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