
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.
bank-transaction-extractor
Advanced tools
Extract bank transactions and convert amounts between currencies
A Node.js library for automated transaction extraction from online banking portals with currency conversion support. Designed for financial institutions that use web-based interfaces with CAPTCHA verification.
This library is not affiliated, associated, authorized, endorsed by, or in any way officially connected with any financial institution. It is provided "as-is" without any warranties or guarantees. Users are responsible for:
This library is intended for personal finance management only and should not be used to alter, falsify, or misrepresent financial data.
Data Privacy:
Security Best Practices:
This library is compatible with online banking portals that:
npm install bank-transaction-extractor
Create a .env file in your project root with the required variables. You can find a template with all required variables in the .env.example file.
import { getTransactions, Currency } from 'bank-transaction-extractor';
async function main() {
try {
const transactions = await getTransactions({
username: 'your-username',
password: 'your-password',
accountNumber: 'your-account-number'
});
console.log('Transactions:', transactions);
} catch (error) {
console.error('Error:', error);
}
}
import { getTransactions, Currency } from 'bank-transaction-extractor';
async function main() {
try {
const transactions = await getTransactions({
username: 'your-username',
password: 'your-password',
accountNumber: 'your-account-number',
targetCurrency: Currency.USD, // Optional: Target currency
exchangeRate: 0.032 // Optional: Exchange rate (EGP to USD in this example)
});
console.log('Converted Transactions:', transactions);
} catch (error) {
console.error('Error:', error);
}
}
Each transaction object contains:
interface BankTransaction {
transactionDate: string;
valueDate: string;
description: string;
debitAmount: number;
creditAmount: number;
balance: number;
reference: string;
currency: string;
}
The library throws errors for various scenarios:
Always wrap your calls in try-catch blocks for proper error handling.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)MIT License - see the LICENSE file for details
FAQs
Extract bank transactions and convert amounts between currencies
We found that bank-transaction-extractor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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.