Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

idirouhab/dni-js-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DNI/NIF Validator

Build Status codecov npm version Known Vulnerabilities

It's a very small package that sets out to validate Spanish DNI and NIE. It contains simple functions where the string will be validated against the formula to check whether is valid or not.

Usage

$ npm install dni-js-validator --save 
var dni = require("dni-js-validator")

dni.isValid('12345678Z') // => 'true'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published