1.0.2 • Published 2 years ago

tc-identity v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Turkish Identity Verification

This library created for Turkish identity verification. Government-provided web APIs were used for the verification.

Installation

npm install tc-identity --save

Usage

const Identity = require('tc-identity')

async function validateCitizen() {
  const ct = new Identity({
    id: 10000000146,
    name: 'Gazi Mustafa Kemal',
    lastName: 'Atatürk',
    birthYear: 1881,
  })
  
  const valid = await ct.check()
  console.log(valid)
}

validateCitizen()
1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago