miniban

Super tiny IBAN validator in only 550 bytes!

MIT License

Downloads
816
Stars
12
Committers
1

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 550 bytes 3,897,495.668
iban.js ~3.5 kb 359,175.582

Installation

# npm
npm install miniban

# yarn
yarn add miniban

Usage

This is super easy: miniban only has 1 function.

import isValidIBAN } from "miniban";

console.log(isValidIBAN("AL47212110090000000235698741"));
// logs: true

License

MIT, see License file.