# tckn-vkn-validator

> A library for validating Turkish Identification Numbers (TCKN) and Tax Identification Numbers (VKN).

Latest version **1.1.4** (published 2024-12-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install tckn-vkn-validator
pnpm add tckn-vkn-validator
yarn add tckn-vkn-validator
bun add tckn-vkn-validator
```

## Health

**Score 40/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.4 |
| Published | 2024-12-23 |
| First published | 2024-12-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | MhmtMutlu |
| Maintainers | mehmetmutlu |
| Keywords | tckn, vkn, tckn validation, vkn validation, turkey, tax id, identity |

## Links

- npm: https://www.npmjs.com/package/tckn-vkn-validator
- Repository: https://github.com/MhmtMutlu/tckn-vkn-validator
- Homepage: https://github.com/MhmtMutlu/tckn-vkn-validator#readme
- Issues: https://github.com/MhmtMutlu/tckn-vkn-validator/issues
- npm.io page: https://npm.io/package/tckn-vkn-validator

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.1.4 (latest) — 2024-12-23
- 1.1.3 — 2024-12-23
- 1.1.2 — 2024-12-23
- 1.1.1 — 2024-12-23
- 1.1.0 — 2024-12-22
- 1.0.14 — 2024-12-22
- 1.0.13 — 2024-12-22
- 1.0.12 — 2024-12-22
- 1.0.11 — 2024-12-22
- 1.0.10 — 2024-12-22
- 1.0.9 — 2024-12-22
- 1.0.8 — 2024-12-22
- 1.0.7 — 2024-12-22
- 1.0.6 — 2024-12-22
- 1.0.5 — 2024-12-22
- … 4 more at https://npm.io/package/tckn-vkn-validator/versions

## README

# Tckn & Vkn Validator

Includes validateTckn and validateVkn functions to validate Turkish Identification Number (Tckn) and Tax Identification Number (Vkn)

[![NPM](https://img.shields.io/npm/v/tckn-vkn-validator.svg)](https://www.npmjs.com/package/tckn-vkn-validator) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install tckn-vkn-validator
```

## Usages

> validateTckn function gets tckn (string) as a parameter and returns boolean as a result. It only checks tckn in accordance with its rules.

```ts
import { validateTckn } from "tckn-vkn-validator";

const tckn: string = "11111111110";

const result: boolean = validateTckn(tckn);
```

> validateVkn function gets vkn (string) as a parameter and returns boolean as a result. It only checks vkn in accordance with its rules.

```ts
import { validateVkn } from "tckn-vkn-validator";

const vkn: string = "1430466081";

const result: boolean = validateVkn(vkn);
```

## License

MIT

---
_Source: https://npm.io/package/tckn-vkn-validator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
