check-cont-number

1.0.1 • Public • Published

check-cont-number

This package checks digit of container.

Install

via npm

$ npm install check-cont-number

via yarn

$ yarn add check-cont-number

How is a check digit calculated?

As the check digit is calculated using an algorithm that takes into account both the BIC code and serial number, it is imperative that the check digit be modified when containers are re-marked with a different BIC code.

  • The owner prefix (BIC code): three capital letters of the Latin alphabet to indicate the owner or principal operator of the container.
  • The equipment category identifier: one capital letter as follows:
    • U for all freight containers.
    • J for detachable freight container-related equipment.
    • Z for trailers and chassis.
    • The serial number: six Arabic numerals, left at owner‘s or operator‘s option.
    • The check digit: one Arabic numeral providing a means of validating the recording and transmission accuracies of the owner code and serial number.

Package Sidebar

Install

npm i check-cont-number

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

2.6 kB

Total Files

3

Last publish

Collaborators

  • duongnm