Socket
Socket
Sign inDemoInstall

vindec-validator

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

vindec-validator

A vehicle Identification number (VIN) validator


Version published
Maintainers
1
Weekly downloads
44
decreased by-50%

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

FAQs

Last updated on 09 Jan 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc