# is-inn-js

> Проверка валидности ИНН

Latest version **1.1.0** (published 2017-12-31) · ISC license · 0 weekly downloads

## Install

```sh
npm install is-inn-js
pnpm add is-inn-js
yarn add is-inn-js
bun add is-inn-js
```

## 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.1.0 |
| Published | 2017-12-31 |
| First published | 2016-11-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Vyacheslav Ruzanov |
| Maintainers | spb-web |
| Keywords | ИНН, inn |

## Links

- npm: https://www.npmjs.com/package/is-inn-js
- Repository: https://github.com/spb-web/is-inn-js
- Homepage: https://github.com/spb-web/is-inn-js#readme
- Issues: https://github.com/spb-web/is-inn-js/issues
- npm.io page: https://npm.io/package/is-inn-js

## Recent versions

- 1.1.0 (latest) — 2017-12-31
- 1.0.1 — 2017-12-31
- 1.0.0 — 2016-11-18

## README

# is-inn-js

Модуль проверки валидности кода ИНН.

### Установка:
```sh
$ npm install is-inn-js --save
```

### Пример использования
#### NodeJS
```js
const isInn = require('is-inn-js');
let isInnResult = isInn('4234002402');
console.log(isInnResult) // print: true
```
#### Browser
```html
<script src='/node_modules/is-inn-js/isInn.js'></script>
<script>
    var isInnResult = isInn('4234002402');
    console.log(isInnResult) // print: true
</script>
```

isInn возвращает true для валидного ИНН и false для не валидного. Проверка идет с подсчётом контрольных сумм



#### Тестирование:
```sh
$ npm run test
```

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