How to use the dni-js.isValid 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#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