identification-numbers

    0.0.7 • Public • Published

    Identification Numbers

    Build Status npm version Dependency Status devDependency Status

    Provides utility methods to validate and generate various identification numbers such as NIP, REGON, PESEL, etc.

    Note that this project is still in its incubating phase.

    Installation

    npm install identification-numbers

    Usage

    var identification_numbers = require('identification-numbers'),
        pesel = identification_numbers.pesel,
        regon = identification_numbers.regon;
     
    expect(pesel('83071503434').isValid()).toBeTruthy();
    expect(regon('975124224').isValid()).toBeTruthy();

    Release History

    • 0.0.7
      • Expermienal patch with no changes in code
    • 0.0.6
    • 0.0.5
      • Decode PESEL
    • 0.0.4
      • Validate PESEL
    • 0.0.3
      • Added random NIP generator
      • Added NIP validator
      • Added random REGON generator
      • Added REGON validator
    • 0.0.2
    • 0.0.1
      • Initial release

    Install

    npm i identification-numbers

    DownloadsWeekly Downloads

    62

    Version

    0.0.7

    License

    none

    Last publish

    Collaborators

    • danielpacak