How to use dni-js - 2 common examples

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) {
github singuerinc / better-dni / packages / better-dni / benchmark.js View on Github external
.add("dni-js#isValid", () => {
      dni_js_isValid("12345678Z");
    })
    .add("@willowi/validate-nif#validateNif", () => {

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