@fabioalmeida/modulo11
v1.0.2
Published
modulo 11 check digit
Downloads
230
Readme
Install
Install with npm:
$ npm i @fabioalmeida/modulo11
Usage
var Modulo11 = require('@fabioalmeida/modulo11')
var modulo11 = new Modulo11(2,11)
var cpfDigit1 = modulo11.checkDigit([6,0,1,6,1,4,7,9,0])
var cpfDigit2 = modulo11.checkDigit([6,0,1,6,1,4,7,9,0, cpfDigit1])