eg-nid
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

eg-nid

Extract basic info from Egyptian NIDs

- City
- Age
- Sex
- Day
- Month
- Year
- Birthday

npm npm

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'
// }

Contact me

name name

Package Sidebar

Install

npm i eg-nid

Weekly Downloads

3

Version

1.1.0

License

MIT

Unpacked Size

11.2 kB

Total Files

10

Last publish

Collaborators

  • madkour17