Skip to content
/ vin Public

A TypeScript package for validating North American vehicle identification numbers (VINs) 🚗

License

Notifications You must be signed in to change notification settings

voxa/vin

Repository files navigation

@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

About

A TypeScript package for validating North American vehicle identification numbers (VINs) 🚗

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published