# verify-tc

> Verify Turkish Citizenship Number

Latest version **0.0.1** (published 2021-08-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install verify-tc
pnpm add verify-tc
yarn add verify-tc
bun add verify-tc
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2021-08-05 |
| First published | 2021-08-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Mahmut Can CINGI |
| Maintainers | 1bomi |
| Keywords | turkish citizenship number, türk vatandaşlık numarası, tc no, tc kimlik |

## Links

- npm: https://www.npmjs.com/package/verify-tc
- Repository: https://github.com/cancng/verify-tc
- Homepage: https://github.com/cancng/verify-tc#readme
- Issues: https://github.com/cancng/verify-tc/issues
- npm.io page: https://npm.io/package/verify-tc

## Dependencies (1)

- [soap](https://npm.io/package/soap.md) ^0.40.0

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2021-08-05

## README

# Verify TC Number

This library can verify the Turkish citizenship number. `verifyTC` function returns a boolean value.

## Example

```js
const { verifyTC } = require('verify-tc');
// or
import { verifyTC } from 'verify-tc';

// Async/await
const isVerified = await verifyTC({
  name: 'Name',
  surname: 'Surname',
  tcNumber: 11111111111,
  birthYear: 2005,
});
console.log(isVerified);

// Then
verifyTC({
  name: 'Name',
  surname: 'Surname',
  tcNumber: 11111111111,
  birthYear: 2005,
}).then((isVerified) => {
  console.log(isVerified);
});
```

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