# inn-validate

> Validate Qazaqstan business and individual identification numbers

Latest version **1.0.1** (published 2019-06-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install inn-validate
pnpm add inn-validate
yarn add inn-validate
bun add inn-validate
```

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-06-07 |
| First published | 2019-06-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 14 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 13 |
| Author | Olzhas Akhmetkhan |
| Maintainers | mi7ter |

## Links

- npm: https://www.npmjs.com/package/inn-validate
- Repository: https://github.com/Mi7teR/inn-validate
- Homepage: https://github.com/Mi7teR/inn-validate#readme
- Issues: https://github.com/Mi7teR/inn-validate/issues
- npm.io page: https://npm.io/package/inn-validate

## Recent versions

- 1.0.1 (latest) — 2019-06-07
- 1.0.0 — 2019-06-07

## README

# inn-validate
## Валидация ИИН и БИН физических и юридических лиц РК
### Установка
`npm install --save inn-validate`
### Пример использования
```javascript
import {validateINN} from 'inn-validate';
console.log(validateINN({identificationNumber: '811201401188'})); // true
console.log(validateINN({identificationNumber: '811201401188', details: true})); // {birthDate: Tue Dec 01 1981 00:00:00 GMT+0600 (Восточный Казахстан), sex: false}
console.log(validateINN({identificationNumber: '971240001315'})); // true
console.log(validateINN({identificationNumber: '971240001315', details: true})); // {type: "Resident", agencyType: "HeadOffice"}
```
ИИН и БИН в примере взяты с гугл картинок.

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