Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

vindec-validator

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Issues
File Explorer

Advanced tools

vindec-validator

A vehicle Identification number (VIN) validator

    1.1.3latest

Version published
Maintainers
1
Yearly downloads
12,635
decreased by-1.42%

Weekly downloads

Readme

Source

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
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc