A check digit algorith, Verhoeff Algorithm (ja)
import { Verhoeff } from "https://code4fukui.github.io/Verhoeff/Verhoeff.js";
console.log(Verhoeff.calc(236)); // 3
console.log(Verhoeff.check(2363)); // true
console.log(Verhoeff.addCheckDigit(236)); // 2363
deno test