TC Kimlik Doğrulama
  • JavaScript 100%
Find a file
2024-03-11 22:19:55 +03:00
license Initial commit 2021-11-22 23:36:40 +03:00
package.json Update syntax, keywords, and version 2024-03-11 22:19:55 +03:00
readme.md Add RunKit badge 2021-11-23 16:33:18 +03:00
tcKimlikDogrulama.js Update syntax, keywords, and version 2024-03-11 22:19:55 +03:00

TC Kimlik Doğrulama

Bu paket tckimlik.nvi.gov.tr üzerinden TC Kimlik doğrulaması yapmaya yardımcı olur.

npm license runkit

Kurulum

# yarn ile
$ yarn add tc-kimlik-dogrulama

# npm ile
$ npm i tc-kimlik-dogrulama

Kullanım

const tcKimlikDogrulama = require('tc-kimlik-dogrulama')

const app = async () => {
  const verification = await tcKimlikDogrulama({
    ad: 'Ahmet',
    soyad: 'Yılmaz',
    dogumYili: '1989',
    tcKimlikNo: '94124544014'
  })

  console.log(verification)
  // true veya false döndürür
}

app()

Lisans

MIT