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')