bic
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

bic

BIC (Business Identifier Code) format validator

Build status

Install

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

Usage

In Node.js

const bic = require('bic');
bic.isValid('12345678'); // false
bic.isValid('CHASUS33'); // true
 
// OR
 
import bic from 'bic';
bic.isValid('12345678'); // false
bic.isValid('CHASUS33'); // true

In browser

<script src="https://cdn.jsdelivr.net/npm/bic@[VERSION_NUMBER]/dist/bic.umd.min.js"></script>
 
<script>
    bic.isValid('12345678'); // false
    bic.isValid('CHASUS33'); // true
</script> 

License

The MIT License (MIT)

Package Sidebar

Install

npm i bic

Weekly Downloads

3,299

Version

1.1.1

License

MIT

Unpacked Size

4.36 kB

Total Files

10

Last publish

Collaborators

  • npayot