Skip to content

code4fukui/Modulus10

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modulus10

A check digit algorithm, Modulus10

in JavaScript (ES module)

how to use

import { Modulus10 } from "https://code4fukui.github.io/Modulus10/Modulus10.js";

console.log(Modulus10.calc("978477101067")); // 3
console.log(Modulus10.check("9784771010673")); // true
console.log(Modulus10.addCheckDigit("978477101067")); // "9784771010673"

test

deno test

sample app

Modulus10.js test

related

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published