vindec-validator
Advanced tools
A vehicle Identification number (VIN) validator
Weekly downloads
Readme
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
const validator = require('vindec-validator')
console.log(`Vin is valid? ${validator.valid('1234')}`) // false