0.0.14 • Published 5 years ago

iban v0.0.14

Weekly downloads
78,745
License
MIT
Repository
github
Last release
5 years ago

npm version GitHub license

iban.js

IBAN and BBAN validation, formatting and conversion in Javascript. Check the demo on demo page to try it.

IBAN.js follows the ISO 13616 IBAN Registry technical specification.

Usage

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.

In node.js

var IBAN = require('iban');
IBAN.isValid('hello world'); // false
IBAN.isValid('BE68539007547034'); // true

In the browser

Using a module loader (AMD or commonjs) or directly through the global IBAN object:

<script src="iban.js"></script>
<script>
    // the API is now accessible from the window.IBAN global object
    IBAN.isValid('hello world'); // false
    IBAN.isValid('BE68539007547034'); // true
</script>

With TypeScript

The library is also available from the typescript language. To do this, download the definition and add a reference to this:

/// <reference path="iban.d.ts" />
IBAN.isValid('hello world');
IBAN.isValid('BE68539007547034');

With Meteor framework

A wrapper package for the Meteor framework is available here.

API

* isValid(iban)
* toBBAN(iban, separator)
* fromBBAN(countryCode, bban)
* isValidBBAN(countryCode, bban)
* printFormat(iban, separator)
* electronicFormat(iban)
emmy-payment-generator@everreal/er-common-react-componentsreact-iban@renito/sharedstadtenergietransaction-servicekymove-beneficiaries-frontreact-webpack-babel-sass-boilerplate@everything-registry/sub-chunk-1889wix-payments-dashboardsepa-payment-codesepa-payment-qr-codesepa-xmlsepa-xml-extendedthird-partyveem-web-sdklucien-form-builderhuqriban-generatoriban-recognitionletsgoponents-ticketingletsgoponents-zero-wastemongoose-ibangirocodelucca-uinode-red-contrib-acc-utilsoxo-form-builderpreview-lib-appnode-red-contrib-ibanutilsng-ibanrosenwegsomoffice-shellterra-schematics@aiguesdebarcelona/ab-ofex-components@antoineschaller/swissqrbill@amontech/amon-lib@beinformed/ui@clearfacts/cf-componentsynap-parsersvalidations-charles809@identance/websdk@innotec/materials@infinitebrahmanuniverse/nolb-ib@kuveytturk/boa-components@kuveytturk/boa-utils@lblod/submission-form-helpers@nexys/swiss-qr-invoice@envelope-zero/ynap-parsers@proca/widget@raisin/yup-validations@scola/dom@scola/validator@reactway/forms-validators@reactway/forms-validators-lt@phoenixreisen/form@phoenixreisen/mithrils@opuscapita/field-validators@swan-io/shared-business@sprinque/checkout@drodil/backstage-plugin-toolbox@botsquad/web-clientethixngonewebcomponents@tieto/ehr-minu-andmed-ui@xbge/cliall-validators@yops/data-models@zalastax/nolb-ibbigwalletbackend-direct-democracybunq-apibunq-js-apibunq-nodecampaicommonui_modulesdatel-minu-andmed-uiehr-minu-andmed-uiexpo-appform-field-validatorfestesoci-bundleftb-mkb-payment-utilsfp-components
0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

9 years ago

0.0.5

10 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago