0.0.1-alpha.2 • Published 8 years ago

identification-numbers-pl v0.0.1-alpha.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

identification-numbers-pl

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

Build Status npm version Dependency Status Code Climate Test Coverage

Note that this project is still in its incubating phase.

Installation

$ npm install identification-numbers-pl --save --save-exact

Quick Start

var ids = require('identification-numbers-pl');

expect(ids.pesel('83071503434').isValid()).to.be.true;
expect(ids.regon('975124224').isValid()).to.be.true;