vinidator

    1.0.1 • Public • Published

    vinidator

    Install

     
    npm i vinidator
     

    API

    const { validate, validateAndThrowOnInvalid } = require('vinidator')
     
    validate('1HTMMAANX4H670946') // { isValid: true, code: 'SUCCESS', message: 'VIN is valid' }
     
    validateAndThrowOnInvalid('1m2k195c51m017395') // throws
     

    Install

    npm i vinidator

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    WTFPL

    Unpacked Size

    5.14 kB

    Total Files

    5

    Last publish

    Collaborators

    • daytonlowell