Skip to content

langerheiko/Calc-ILU-check-digit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

How is the check digit of a container calculated?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published