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:
npm install calc-ilu-check-digit
import calcIluCheckDigit from 'calc-ilu-check-digit';
let ilu = 'ZEPU 003725 5';
calcIluCheckDigit(ilu); // Will return 5.