Skip to content

🔢 Validate Swedish personal identity numbers

License

Notifications You must be signed in to change notification settings

personnummer/clojure

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 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

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages

  • Clojure 100.0%