Skip to content

atlanteh/israeli-id-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

israeli-id-validator

A simple Israeli ID validator

INSTALLATION

npm i israeli-id-validator

USAGE

import isIsraeliIdValid from 'israeli-id-validator';

console.log(isIsraeliIdValid(123456782)) // true
console.log(isIsraeliIdValid(123456785)) // false
console.log(isIsraeliIdValid(1234567856)) // false
console.log(isIsraeliIdValid(12345678)) // false
console.log(isIsraeliIdValid("123456782")) // true
console.log(isIsraeliIdValid("123456785")) // false
console.log(isIsraeliIdValid("023456783")) // true
console.log(isIsraeliIdValid("23456783")) // true 

About

Israeli ID validator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •