Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
lunch-money
Advanced tools
npm install lunch-money
The NPM module also makes types available to TypeScript.
import LunchMoney, { Asset } from 'lunch-money';
const lunchMoney = new LunchMoney( { token: 'my-api-token' } );
lunchMoney.getAssets().then( ( assets: Asset[] ) => {
console.log( assets )
} ).catch ( error => {
console.error( error );
} );
Or, if you are using ESM:
import {LunchMoney} from 'lunch-money'
const lunchMoney = new LunchMoney( { token: 'my-api-token' } );
const assets = await lunchMoney.getAssets();
Get all assets (manually managed accounts):
LunchMoney.getAssets() : Promise<Asset>
Get all transactions:
LunchMoney.getTransactions( arguments?: TransactionsEndpointArguments ) : Promise<Transaction[]>
Create transactions
LunchMoney.createTransactions(
transactions: DraftTransaction[],
applyRules = false,
checkForRecurring = false,
debitAsNegative = false
) : Promise<any>
There are many open source projects with example code you can use to quickly build your integration:
FAQs
API bindings for the Lunch Money personal finance application
The npm package lunch-money receives a total of 33 weekly downloads. As such, lunch-money popularity was classified as not popular.
We found that lunch-money demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.