Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 months 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 (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-22T17:00:52.000Z (about 12 years ago)
- Last Synced: 2024-10-07T01:47:50.149Z (2 months ago)
- Language: CoffeeScript
- Size: 104 KB
- Stars: 4
- Watchers: 2
- 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.
[![Build Status](https://secure.travis-ci.org/StefanKjartansson/kennitala-js.png)](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