imonumber

    1.0.3 • Public • Published

    imonumber

    Vessel IMO number validator

    Usage

    const { validate } = require('imonumber')
     
    validate('IMO 9176187') // true
    validate('asdfasd') // false

    Browser usage

    An ES5 supported build is available

    var imonumber = require('imonumber/es5')

    Install

    npm i imonumber

    DownloadsWeekly Downloads

    8

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    4.26 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar