Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
finance-sim
Advanced tools
Readme
A simple simulator which simulates what will happen to your bank account on a daily basis given a certain set of transactions and bank fees.
First, install finance-sim
:
npm i -g finance-sim
Then, add your transactions and bank fees to config.toml
. Here's an example:
[[bank-fees]]
name = "Overdraft Fee"
entity = "Chase Bank"
amount = -34
if = "balance < 0 && expensesMade"
[[transactions]]
name = "My Paycheque"
entity = "ACME, Co."
amount = 2000
when = "firstnotweekend(monthly(20))"
[[transactions]]
name = "Rent"
entity = "My Landlord"
amount = -1500
when = "monthly(1)"
Then run the script:
# finance-sim <starting balance> [start date] [end date]
finance-sim 3400 2017-1-1 2017-2-1
And you'll get output much like this:
Sun, 1 January 2017
TRX: -$1,500.00 Rent My Landlord
Ending: $1,900.00
Fri, 20 January 2017
TRX: $2,000.00 My Paycheque ACME, Co.
Ending: $3,900.00
Wed, 1 February 2017
TRX: -$1,500.00 Rent My Landlord
Ending: $2,400.00
Run finance-sim --help
to see more command-line options.
MIT
FAQs
Simulates daily transactions in a bank account
The npm package finance-sim receives a total of 3 weekly downloads. As such, finance-sim popularity was classified as not popular.
We found that finance-sim 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.