persian-validation
v0.0.5-beta.4
Published
Validation Methods For Sheba Code And National Id (SSN)
Downloads
7
Maintainers
Readme
Persian Validation
Sheba And SSN Validation Methods
Installation
npm install persian-validation --save
Usage
Example:
import {ssn, sheba} from "persian-validation"
if(sheba("IR030570021980012924324101")){
console.log("Its OK!")
}
if(!ssn("11111111111")){
console.log("Its Not OK!")
}
License
This project is open-sourced software licensed under the MIT license.