Skip to content

BIC (Business Identifier Code) format validator

License

Notifications You must be signed in to change notification settings

hy0ug0/bic-validator

 
 

Repository files navigation

BIC Validator

BIC (Business Identifier Code) format validator

Release

Install

$ npm install bic-validator --save
# OR
$ yarn add bic-validator

Usage

In Node.js

const bicValidator = require('bic-validator');
bicValidator.isValid('12345678'); // false
bicValidator.isValid('CHASUS33'); // true

// OR

import bicValidator from 'bic-validator';
bicValidator.isValid('12345678'); // false
bicValidator.isValid('CHASUS33'); // true

In browser

<script src="https://cdn.jsdelivr.net/npm/bic-validator@[VERSION_NUMBER]/dist/bic.umd.min.js"></script>

<script>
    bicValidator.isValid('12345678'); // false
    bicValidator.isValid('CHASUS33'); // true
</script>

License

The MIT License (MIT)

About

BIC (Business Identifier Code) format validator

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • TypeScript 52.9%
  • JavaScript 44.3%
  • Shell 2.8%