Normally Palatable Mango
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

avris-generator

0.0.3 • Public • Published

Avris Generator

Generate and validate numbers and identifiers like IBAN, ISBN, EAN, PESEL, BSN, 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

0

version

0.0.3

license

MIT

repository

Gitgitlab

last publish

collaborators

  • avatar
Report a vulnerability