Skip to content

Utility library for the unique national identification number used by the Icelandic government

Notifications You must be signed in to change notification settings

StefanKjartansson/kennitala-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Utility library for the unique national identification number used by the Icelandic government

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published