Have ideas to improve npm?Join in the discussion! »

avris-generator

0.8.1 • Public • Published

Avris Generator

Generate and validate numbers and identifiers like IBAN, ISBN, EAN, PESEL, BSN, UTR, NINO, NIF, DNI, passwords...

GUI & API

yarn
yarn build
yarn start

Library

yarn add avris-generator
const gm = require('avris-generator');

const pesel = gm.generate('PL', 'pesel', {gender: 'm'});

try {
    const data = gm.validate('PL', 'pesel', '12345678900');
    // valid
} catch (e) {
    // invalid
    alert(e.message);
}

Copyright

Install

npm i avris-generator

DownloadsWeekly Downloads

25

Version

0.8.1

License

MIT

Unpacked Size

822 kB

Total Files

85

Last publish

Collaborators

  • avatar