Skip to content

serkanalgur/istckimlik

Repository files navigation

isTCKimlik Build Status npm npm bundle size

A tool for validate Turkish Identification Number

Installation

You can install this component via npm or yarn

npm install istckimlik
yarn add istckimlik

Usage

You can import your project and ask script is Turkish Identification Number is true or false

var kontrol = require('istckimlik')

console.log(kontrol.isTCKimlik(34123889266));
// function will return true or false P.S you need to give variable as number.
// second P.S : this Turkish Identification Number is auto generated