# ut-function.iban

> iban

Latest version **1.4.0** (published 2023-01-20) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install ut-function.iban
pnpm add ut-function.iban
yarn add ut-function.iban
bun add ut-function.iban
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.4.0 |
| Published | 2023-01-20 |
| First published | 2022-04-13 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 19.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | kalin.krustev |

## Links

- npm: https://www.npmjs.com/package/ut-function.iban
- Repository: https://github.com/softwaregroup-bg/ut-function
- Homepage: https://github.com/softwaregroup-bg/ut-function#readme
- Issues: https://github.com/softwaregroup-bg/ut-function/issues
- npm.io page: https://npm.io/package/ut-function.iban

## Recent versions

- 1.4.0 (latest) — 2023-01-20
- 1.3.0 — 2022-04-13

## README

# ut-function.iban

IBAN functionalities

## Installation

```sh
npm i ut-function.iban
```

## Usage examples

```js
const {generateIban, parseIban} = require('ut-function.iban');
generateIban({bban: 'INGB4937453297', countryCode: 'NL'});
// NL26INGB4937453297

parseIban('NL26INGB4937453297')
// iban: 'NL26INGB4937453297'
// valid: true
// countryCode: 'NL'
// bban: 'INGB4937453297'

parseIban('NL33INGB4937453297')
// iban: 'NL33INGB4937453297'
// valid: false
// countryCode: 'NL'
// bban: 'INGB4937453297'

parseIban('NL33INGB49374')
// iban: 'NL33INGB49374'
// valid: false
// countryCode: 'NL'
// bban: 'INGB49374'

parseIban('TM33INGB49374')
// iban: 'TM33INGB49374'
// valid: false
// countryCode: 'TM'
// bban: 'INGB49374'
```

---
_Source: https://npm.io/package/ut-function.iban · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
