Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

istckimlik

serkanalgur35ISC1.1.3TypeScript support: included

A tool for validate Turkish Identification Number

tc kimlik, doğrulama, validate, turkish identification, validator

readme

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