vindec-validator

1.1.3 • Public • Published

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

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 by Joe Kiley

Usage

 
const validator = require('vindec-validator')
console.log(`Vin is valid? ${validator.valid('1234')}`) // false
 

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i vindec-validator

      Weekly Downloads

      55

      Version

      1.1.3

      License

      MIT

      Unpacked Size

      6.73 kB

      Total Files

      6

      Last publish

      Collaborators

      • thephilip