How to use the dni-js.getControlDigit function in dni-js

To help you get started, we’ve selected a few dni-js examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github singuerinc / better-dni / packages / better-dni / benchmark.js View on Github external
.add("dni-js-validator#getControlDigit", () => {
      dni_js_getControlDigit("X0729124R");
    })
    .on("cycle", function(event) {

dni-js

Compute and validate a Spanish DNI/NIE number

MIT
Latest version published 3 years ago

Package Health Score

42 / 100
Full package analysis

Popular dni-js functions