bic
BIC (Business Identifier Code) format validator
Install
$ npm install bic --save
$ yarn add bic
Usage
In Node.js
const bic = require('bic');
bic.isValid('12345678');
bic.isValid('CHASUS33');
import bic from 'bic';
bic.isValid('12345678');
bic.isValid('CHASUS33');
In browser
<script src="https://cdn.jsdelivr.net/npm/bic@[VERSION_NUMBER]/dist/bic.umd.min.js"></script>
<script>
bic.isValid('12345678');
bic.isValid('CHASUS33');
</script>
License
The MIT License (MIT)