1.0.3 • Published 9 months ago

programmable-banking-faker v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

programmable-banking-faker

A package for generating fake banking data for testing purposes.

📦 Install

npm install --save-dev programmable-banking-faker

🪄 Usage

// ESM
import { Investec } from 'programmable-banking-faker';

// CJS
const { Investec } = require('programmable-banking-faker');

// Generate a random transaction description
const description = Investec.description();

// Either 'credit' or 'debit'
const type = Investec.type();

// Returns one of the other banks
const bank = new Investec.bank();

// Generate a random transaction
const transaction = Investec.transaction();

// Generate a random account
const account = Investec.account();

// Generate a random beneficiary
const beneficiary = Investec.beneficiary();

🔑 License

MIT

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago