2.0.0 • Published 6 years ago

is-container v2.0.0

Weekly downloads
189
License
MIT
Repository
github
Last release
6 years ago

is-container

Build Status NPM downloads NPM version

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 = require('is-container')

isContainer('MSKU6011672')
//=> true

API

isContainer(code)

input

Type: string

The container code to be validated.

License

MIT © Ruan Martinelli

2.0.0

6 years ago

2.0.0-0

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago