
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
IBAN code generator for NodeJS and browsers.
Based on @ikraider/iban-generator.
npm i libiban
Or
yarn add libiban
## Usage
```javascript
import { gen, check } as iban from 'libiban'
For browsers:
<script src="./node_modules/libiban/dist/libiban.min.js"></script>
Or using CDN:
<script src="https://cdn.rawgit.com/jesobreira/libiban/master/dist/libiban.min.js"></script>
In browsers, you can include the script and it will populate the `window` object with `iban`.
Generating IBAN code:
```javascript
var generated_code = iban.gen({
ispb: '60746948', // bank code
agency: '1234',
account: '567890',
account_type: 'C',
account_owner: 1
})
console.log(generated_code) // BR2860746948012340000567890C1
Testing IBAN code:
iban.check('BR2860746948012340000567890C1') // true
We use Mocha for the unit tests.
npm test
To build libiban for browsers you will need Browserify and UglifyJS-ES6:
npm i -g browserify
npm i -g uglify-js-es6
The following command will create two files at "dist/" folder, "libiban.js" and "libiban.min.js".
npm run build
FAQs
Library to generate and validate IBAN codes
We found that libiban demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.