All Projects → ognus → ird-nz

ognus / ird-nz

Licence: MIT license
Checksum validator for New Zealand's IRD/GST number.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ird-nz

NZ-Bank-Account-Validator
A small, zero dependency NZ bank account validation library that runs everywhere.
Stars: ✭ 15 (+0%)
Mutual labels:  validator, ird
quaderno-api
API documentation and wrappers for Quaderno.
Stars: ✭ 19 (+26.67%)
Mutual labels:  gst
ZUV
ZUgferd validator using Verapdf
Stars: ✭ 22 (+46.67%)
Mutual labels:  validator
max-validator
Advanced validation library for Javascript & React | Inspired by laravel validation
Stars: ✭ 29 (+93.33%)
Mutual labels:  validator
codeowners-validator
The GitHub CODEOWNERS file validator
Stars: ✭ 142 (+846.67%)
Mutual labels:  validator
validator
Yii validator library
Stars: ✭ 47 (+213.33%)
Mutual labels:  validator
vvalidator
VValidator - Go validator library.
Stars: ✭ 26 (+73.33%)
Mutual labels:  validator
govalidators
struct 验证器,内置大部分常用验证,可自定义
Stars: ✭ 56 (+273.33%)
Mutual labels:  validator
SheenValidator
Android library to make form validation easier
Stars: ✭ 29 (+93.33%)
Mutual labels:  validator
toi
A TypeScript validation library capable of inferring types
Stars: ✭ 25 (+66.67%)
Mutual labels:  validator
swagger-object-validator
Node-Module to validate your model against a swagger spec and receive in-depth error traces
Stars: ✭ 27 (+80%)
Mutual labels:  validator
formurai
Lightweight and powerfull library for declarative form validation
Stars: ✭ 49 (+226.67%)
Mutual labels:  validator
typepy
A Python library for variable type checker/validator/converter at a run time.
Stars: ✭ 16 (+6.67%)
Mutual labels:  validator
volder
volder is powerful Object schema validation lets you describe your data using a simple and readable schema and transform a value to match the requirements
Stars: ✭ 106 (+606.67%)
Mutual labels:  validator
validator
Inpsyde Validator library
Stars: ✭ 14 (-6.67%)
Mutual labels:  validator
python-sshpubkeys
OpenSSH public key parser for Python
Stars: ✭ 85 (+466.67%)
Mutual labels:  validator
vayder
Easy and concise validations for Express routes
Stars: ✭ 26 (+73.33%)
Mutual labels:  validator
romans
A Simple PHP Roman Numerals Library
Stars: ✭ 40 (+166.67%)
Mutual labels:  validator
naija-phone-number
A fast minimal module to validate Nigerian mobile phone numbers using Regular Expressions.
Stars: ✭ 43 (+186.67%)
Mutual labels:  validator
validate-framework
validate-framework:一款轻量、无依赖的 JavaScript 验证组件
Stars: ✭ 55 (+266.67%)
Mutual labels:  validator

ird-nz

Checksum validator for New Zealand's IRD/GST number.

Implementation based on specification available at: http://www.ird.govt.nz/resources/9/e/9e408a004e329f16a91bbf8ad6853786/rwt-nrwt-spec-2013+v1.0+.pdf

Install

Node

npm install ird-nz

Browser

<script src="irdnz.min.js"></script>

Using bower

bower install ird-nz

#Usage

Node

var irdnz = require('ird-nz');
irdnz.isValid(123123123);
//or pass IRD/GST number as a string
irdnz.isValid('123123123');

Browser

// irdnz is exposed as a global (window.irdnz)
irdnz.isValid(123123123);
// or pass IRD/GST number as a string
irdnz.isValid('123123123');
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].