
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@nesto-software/billomat-ts
Advanced tools
Billomat API implementation in TypeScript for use in Node.js
billomat-ts
is a library that allows TypeScript developers to connect to the popular online accounting software Billomat.
There's realistic mock data for the client, client property value, confirmations and invoice data types in Billomat's API. It follows that those data types are most likely to work as expected. All other data types are likely to work well though. If you want to contribute, please read our contributing guidelines.
Before you begin, ensure you have met the following requirements:
node
and npm
billomat-ts
.billomat-ts
To install billomat-ts
, simply run:
npm install billomat-ts
billomat-ts
For information on how to use billomat-ts
, have a look at this example:
import { Billomat, getBillomatApiClient } from 'billomat-ts';
import { readFileSync } from 'fs';
const config = JSON.parse(readFileSync('config.json', 'utf-8'));
const billomat = getBillomatApiClient(config);
billomat.clients
.list()
.then((clients: Billomat.Client[]) =>
clients.map((client: Billomat.Client) => client.name).map((name) => console.log(name))
)
.catch(console.error);
billomat-ts
currently supports list
, get
, create
, and edit
operations on all known data types. The list
functions accept query arguments, etc. In case these methods don't satisfy your requirements, you can instead use the raw
method to perform your own requests.
The Billomat-API has very strict rate limits that limit the number of requests in a specific time range. The current status of the rate limit counters and when this limit will be resetted will automatically be extracted & kept for each request. The statistics can be accessed accessed as attributes of the billomat api client:
Attribute | Description |
---|---|
rateLimitStatistics.lastResponseAt | Date of the last response (this is where the statistics originated) |
rateLimitStatistics.limitRemaining | Number of remaining requests |
rateLimitStatistics.limitResetAt | Date, when the rate limit will be reset |
Please note: The rate limit statistics are only available after the first request.
If you want to contact me you can reach me at j-frost+billomat-ts@a3re.net. Also feel free to open an issue if you find a bug or have a question.
This project uses the MIT license.
FAQs
Billomat API implementation in TypeScript for use in Node.js
The npm package @nesto-software/billomat-ts receives a total of 2 weekly downloads. As such, @nesto-software/billomat-ts popularity was classified as not popular.
We found that @nesto-software/billomat-ts demonstrated a healthy version release cadence and project activity because the last version was released less than 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.