GitHunt
VO

voxa/vin

A TypeScript package for validating North American vehicle identification numbers (VINs) ๐Ÿš—

@voxasoftworks/vin

@voxasoftworks/vin is a Typescript package for validating North American vehicle identification numbers (VINs).

This package checks for the right length, the right characters and a correct check digit.

Usage

import { validate } from '@voxasoftworks/vin'

console.log(validate('11111111111111111'));
// => true

console.log(validate('I\'m not valid!'));
// => false

console.log(validate(null));
// => false

console.log(validate(undefined));
// => false

Languages

TypeScript100.0%

Contributors

Latest Release

v1.0.0March 31, 2022
MIT License
Created May 28, 2021
Updated July 10, 2024