Skip to content

A checksums, Verhoeff Algorithm in JavaScript (ES module)

License

Notifications You must be signed in to change notification settings

code4fukui/Verhoeff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Verhoeff

A check digit algorith, Verhoeff Algorithm (ja)

in JavaScript (ES module)

how to use

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

test

deno test

sample app

Verhoeff.js test

related

About

A checksums, Verhoeff Algorithm in JavaScript (ES module)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published