New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

istckimlik

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

istckimlik

A tool for validate Turkish Identification Number

latest
Source
npmnpm
Version
1.2.6
Version published
Weekly downloads
5
-50%
Maintainers
1
Weekly downloads
 
Created
Source

isTCKimlik 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

CommonJS

const { isTCKimlik } = require('istckimlik');

// Pass a number to validate
const isValid = isTCKimlik(48265878901);
console.log(isValid); // returns true or false

ES Module / TypeScript

import { isTCKimlik } from 'istckimlik';

// The function accepts a number and returns a boolean
const isValid: boolean = isTCKimlik(48265878901);
console.log(isValid); // returns true or false

Validation Rules

A valid Turkish ID must meet these criteria:

  • Must be exactly 11 digits
  • Cannot start with 0
  • Must pass the checksum validation (mod 10 checks)

Notes

  • Input must be a number type
  • Returns true if the ID is valid, false otherwise

Keywords

tc kimlik

FAQs

Package last updated on 03 Dec 2025

Related posts