Determines whether a vehicle identification number (VIN) is valid based on length and check digit
import { validate } from '@voxasoftworks/vin'; console.log(validate('11111111111111111')); // => true
var validate = require('@voxasoftworks/vin').validate; console.log(validate('11111111111111111')); // => true
the VIN to be validated
boolean based on VIN validity
Generated using TypeDoc
Determines whether a vehicle identification number (VIN) is valid based on length and check digit
Example (es module)
import { validate } from '@voxasoftworks/vin'; console.log(validate('11111111111111111')); // => true
Example (es module)
var validate = require('@voxasoftworks/vin').validate; console.log(validate('11111111111111111')); // => true