# bic

> BIC (Business Identifier Code) format validator

Latest version **1.1.1** (published 2020-08-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install bic
pnpm add bic
yarn add bic
bun add bic
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2020-08-04 |
| First published | 2016-08-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Nicolas Payot |
| Maintainers | npayot |
| Keywords | iso 9362, bic, bic code, business identifier code, swift, swift-bic, swift id, swift code |

## Links

- npm: https://www.npmjs.com/package/bic
- Repository: https://github.com/nicolaspayot/bic
- Homepage: https://github.com/nicolaspayot/bic#readme
- Issues: https://github.com/nicolaspayot/bic/issues
- npm.io page: https://npm.io/package/bic

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2020-08-04
- 1.1.0 — 2020-08-04
- 1.0.0 — 2016-08-26

## README

# bic
BIC (Business Identifier Code) format validator

[![Build status](https://travis-ci.org/nicolaspayot/bic.svg)](https://travis-ci.org/nicolaspayot/bic)

## Install

```bash
$ npm install bic --save
# OR
$ yarn add bic
```

## Usage

### In Node.js

```javascript
const bic = require('bic');
bic.isValid('12345678'); // false
bic.isValid('CHASUS33'); // true

// OR

import bic from 'bic';
bic.isValid('12345678'); // false
bic.isValid('CHASUS33'); // true
```

### In browser

```html
<script src="https://cdn.jsdelivr.net/npm/bic@[VERSION_NUMBER]/dist/bic.umd.min.js"></script>

<script>
    bic.isValid('12345678'); // false
    bic.isValid('CHASUS33'); // true
</script>
```

## License

The MIT License (MIT)

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