https://github.com/datil/personas
Utility library for National ID and tax ID validation and more
https://github.com/datil/personas
clojure clojurescript
Last synced: about 21 hours ago
JSON representation
Utility library for National ID and tax ID validation and more
- Host: GitHub
- URL: https://github.com/datil/personas
- Owner: datil
- License: epl-1.0
- Created: 2018-01-13T18:23:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-10-24T01:42:29.000Z (over 4 years ago)
- Last Synced: 2025-10-21T23:33:54.650Z (8 months ago)
- Topics: clojure, clojurescript
- Language: Clojure
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# personas [](https://travis-ci.org/datil/personas)
Librería para validación de números de identificación de personas y compañías
## Uso
```clojure
(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
```shell
$ git clone https://github.com/datil/personas.git
```
### Pruebas
```shell
$ lein test
```
## Licencia
Copyright © 2018 Datilmedia S.A.
Distribuido bajo licencia [Eclipse Public License](https://github.com/datil/personas/blob/master/LICENSE).