# vindec-validator

> A vehicle Identification number (VIN) validator

Latest version **1.1.3** (published 2019-01-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install vindec-validator
pnpm add vindec-validator
yarn add vindec-validator
bun add vindec-validator
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.3 |
| Published | 2019-01-09 |
| First published | 2018-05-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Philip Smith |
| Maintainers | thephilip |

## Links

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

## Recent versions

- 1.1.3 (latest) — 2019-01-09
- 1.1.2 — 2019-01-09
- 1.1.1 — 2018-06-19
- 1.1.0 — 2018-05-03
- 1.0.1 — 2018-05-03
- 1.0.0 — 2018-05-03

## README

# Vindec VIN (Vehicle Identification Number) Validator
###### Used by the Vindec package to validate VIN numbers, but may also be used as a standalone package.

## Installation
[![NPM](https://nodei.co/npm/vindec-validator.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/vindec-validator/)

Install with either `npm i vindec-validator` or `yard add vindec-validator`.  If you are interested in learning how I implemented the algorithm or would like to create your own implementation (or update this one!?), I found the following article to be extremely beneficial.

[Use VIN Validation to Improve Inventory Quality](https://vin.dataonesoftware.com/vin_basics_blog/bid/112040/use-vin-validation-to-improve-inventory-quality) by Joe Kiley

## Usage
```javascript

const validator = require('vindec-validator')
console.log(`Vin is valid? ${validator.valid('1234')}`) // false

```

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