Miss any of our Open RFC calls?Watch the recordings here! »

avris-generator

0.7.0 • 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

15

Version

0.7.0

License

MIT

Unpacked Size

842 kB

Total Files

84

Last publish

Collaborators

  • avatar