FORKED FROM https://github.com/nicolaspayot/bic
$ npm install bic-validator --save
# OR
$ yarn add bic-validator
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
<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>
The MIT License (MIT)