eg-nid
v1.1.0
Published
Extract basic info from Egyptian NIDs
Downloads
24
Maintainers
Readme
eg-nid
Extract basic info from Egyptian NIDs
- City
- Age
- Sex
- Day
- Month
- Year
- Birthday
Installation
npm
npm i eg-nid
yarn
yarn add eg-nid
Usage
const { egNid } = require('eg-nid')
import { egNid } from 'eg-nid'
Example
const personalInfo = egNid('# EGYPTIAN NID HERE #')
console.log(personalInfo)
// {
// city: 'Alexandria',
// sex: 'Male',
// age: 29,
// day: 14,
// month: 03,
// year: 1992,
// bd: '14-03-1992'
// }