Skip to content

kerimtdev/tc-identity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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()

About

A library for Turkish identity verification.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published