Skip to content
/ personas Public

Utility library for National ID and tax ID validation and more

License

Notifications You must be signed in to change notification settings

datil/personas

Repository files navigation

personas Build Status

Librería para validación de números de identificación de personas y compañías

Uso

(ns my.app
  (:require [personas.api :as personas]
            [personas.id.ec :as personas-ec]))

(if (personas/valid-id? {:identification "1002304005"
                         :type personas-ec/id-card-code
                         :country "EC"})
  (print "¡Listo!")
  (print "Por favor escribe un número de cédula válida"))

Desarrollo

Clona el repositorio y listo

$ git clone https://github.com/datil/personas.git

Pruebas

$ lein test

Licencia

Copyright © 2018 Datilmedia S.A.

Distribuido bajo licencia Eclipse Public License.

About

Utility library for National ID and tax ID validation and more

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published