1.0.1 • Published 2 years ago

check-cont-number v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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.
1.0.1

2 years ago

1.0.0

2 years ago