Skip to content

bombsimon/clojure-personnummer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clojure-personnummer

Clojure CI

Usage

(ns my-app
  (:require [personnummer :as p]))

(let [pnr (p/personnummer "199001010017")]
  (format "The person with personal identity number %s is a %s of age %s"
                       (p/format pnr) (p/gender pnr) (p/age pnr)))

Example

See example folder for a runnable example.

Testing

With lein

% lein test

About

🔢 Validate Swedish personal identity numbers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published