Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marvinhagemeister/miniban
Super tiny IBAN validator in only 550 bytes!
https://github.com/marvinhagemeister/miniban
iban performance tiny validation validator
Last synced: 16 days ago
JSON representation
Super tiny IBAN validator in only 550 bytes!
- Host: GitHub
- URL: https://github.com/marvinhagemeister/miniban
- Owner: marvinhagemeister
- License: mit
- Created: 2017-10-26T15:42:20.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-01T11:26:41.000Z (almost 6 years ago)
- Last Synced: 2024-10-17T21:43:59.445Z (17 days ago)
- Topics: iban, performance, tiny, validation, validator
- Language: TypeScript
- Homepage:
- Size: 94.7 KB
- Stars: 12
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# miniban
`miniban` is a tiny IBAN validator that is optimized for size and performance.
It weights only merely **550 bytes** and has no dependencies!| Package | Size | op/s |
|---|---|--:|
| [miniban](https://github.com/marvinhagemeister/miniban) | **550 bytes** | **3,897,495.668** |
| [iban.js](https://github.com/arhs/iban.js/) | ~3.5 kb| 359,175.582 |## Installation
```bash
# npm
npm install miniban# yarn
yarn add miniban
```## Usage
This is super easy: `miniban` only has 1 function.
```js
import { isValidIBAN } from "miniban";console.log(isValidIBAN("AL47212110090000000235698741"));
// logs: true
```## License
`MIT`, see [License file](./LICENSE.md).