@voxasoftworks/vin
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@voxasoftworks/vin

@voxasoftworks/vin is a package for validating vehicle identification numbers (VINs) written in TypeScript.

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    82
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    82

Package Sidebar

Install

npm i @voxasoftworks/vin

Weekly Downloads

82

Version

1.0.1

License

MIT

Unpacked Size

29.1 kB

Total Files

16

Last publish

Collaborators

  • leoriviera