is-container
Validates a container number according to ISO 6346
Install
yarn
$ yarn add is-container
npm
$ npm install --save is-container
Usage
See tests for more examples.
const isContainer = //=> true
API
isContainer(code)
input
Type: string
The container code to be validated.
License
MIT © Ruan Martinelli