swift-bic
Version:
SWIFT BIC (Business Identifier Code)
48 lines (37 loc) • 1.07 kB
Markdown
# BIC (Business Identifier Code)
[](https://npmjs.com/package/swift-bic)
[](https://npmjs.com/package/swift-bic)
[](https://npmjs.com/package/swift-bic)
[](https://travis-ci.org/jhermsmeier/node-swift-bic)
## Install via [npm](https://npmjs.com)
```sh
$ npm install --save swift-bic
```
## Usage
```js
var BIC = require( 'swift-bic' )
```
```js
> BIC.isValid( 'HELADEF1JEN' )
< true
```
```js
> BIC.parse( 'HELADEF1JEN' )
< BIC {
institution: 'HELA',
country: 'DE',
location: 'F1',
branch: 'JEN'
}
```
```js
> var sparkasse = BIC.parse( 'HELADEF1JEN' )
> sparkasse.isValid()
< true
```
```js
> sparkasse.toString()
< 'HELADEF1JEN'
```
## Related Modules
- [fints-institute-db](https://github.com/jhermsmeier/fints-institute-db)