Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theduke/meteor-iban
IBAN & BBAN validation, formatting and conversion for the Meteor framework.
https://github.com/theduke/meteor-iban
Last synced: about 1 month ago
JSON representation
IBAN & BBAN validation, formatting and conversion for the Meteor framework.
- Host: GitHub
- URL: https://github.com/theduke/meteor-iban
- Owner: theduke
- License: mit
- Created: 2015-02-13T11:36:08.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-13T12:21:10.000Z (almost 10 years ago)
- Last Synced: 2024-10-13T17:21:29.329Z (2 months ago)
- Language: JavaScript
- Size: 141 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# meteor-iban
IBAN & BBAN validation, formatting and conversion for the Meteor framework.This [Atmosphere package](http://atmospherejs.com/theduke/iban) for [Meteor](https://www.meteor.com/) wraps the IBAN validation Javascript library by ARHS, which can be found here: https://github.com/arhs/iban.js .
The package supplies a global IBAN object that can be for validating and converting IBANs.
Version: 0.0.5
The version of this package will follow the library version.## Installation
```bash
meteor add theduke:iban```
## Usage
```javascript
IBAN.isValid('hello world'); // false
IBAN.isValid('BE68539007547034'); // true
```Available methods:
```javascript
* isValid(iban)
* toBBAN(iban, separator)
* fromBBAN(countryCode, bban)
* isValidBBAN(countryCode, bban)
* printFormat(iban, separator)
* electronicFormat(iban)
```For more information, check out https://github.com/arhs/iban.js.
## Issues
If you have any problems with the library functionality itself, please create an issue on the library Github page:
https://github.com/arhs/iban.jsOnly create issues on this repository, if the issue is related to Meteor integration.
## Authors
The real work is done by the authors of the IBAN library,
this is just a small wraper package.* Christoph Herzog - [email protected]