A javascript library to validate, format and convert IBAN (International Bank Account Number) and BBAN (Basic Bank Account Number)
npm install iban

IBAN and BBAN validation, formatting and conversion in Javascript.
Check the demo on [demo page] to try it.
[demo page]: https://arhs.github.io/iban.js/
IBAN.js follows the ISO 13616 IBAN Registry technical specification.
IBAN.js is compatible with both commonjs and AMD module definition. It can be used as a node.js module and in the browser. It also has a bower manifest, a Typescript definition and a Meteor wrapper.
``js`
var IBAN = require('iban');
IBAN.isValid('hello world'); // false
IBAN.isValid('BE68539007547034'); // true
Using a module loader (AMD or commonjs) or directly through the global `IBAN` object:
`html`
typescript
///
IBAN.isValid('hello world');
IBAN.isValid('BE68539007547034');
`` * isValid(iban)
* toBBAN(iban, separator)
* fromBBAN(countryCode, bban)
* isValidBBAN(countryCode, bban)
* printFormat(iban, separator)
* electronicFormat(iban)