calc-ilu-check-digit

1.1.0 • Public • Published

Calc-ILU-check-digit

How is the check digit of a container calculated?

Do you need to check if a container id (ILU code or BIC code) is valid?

Take the javascript function, that I publish with this little project, to find out, if the check digit is correct.

The calculation is based upon:

Installation

npm install calc-ilu-check-digit

Usage

import calcIluCheckDigit from 'calc-ilu-check-digit';

let ilu = 'ZEPU 003725 5';
calcIluCheckDigit(ilu); // Will return 5.

Readme

Keywords

Package Sidebar

Install

npm i calc-ilu-check-digit

Weekly Downloads

3

Version

1.1.0

License

MIT

Unpacked Size

74.5 kB

Total Files

6

Last publish

Collaborators

  • dbezborodov
  • langerheiko