Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
kraken-api
Advanced tools
NodeJS Client Library for the Kraken (kraken.com) API
This is an asynchronous node js client for the kraken.com API. It exposes all the API methods found here: https://www.kraken.com/help/api through the api
method.
npm install kraken-api
const key = '...'; // API Key
const secret = '...'; // API Private Key
const KrakenClient = require('kraken-api');
const kraken = new KrakenClient(key, secret);
(async () => {
// Display user's balance
console.log(await kraken.api('Balance'));
// Get Ticker Info
console.log(await kraken.api('Ticker', { pair : 'XXBTZUSD' }));
})();
The callback passed to the api
function conforms to the Node.js standard of
function(error, data) {
// ...
}
Thanks to @tehsenaus and @petermrg for pointing this out.
I used the example php implementation at https://github.com/payward/kraken-api-client and the python implementation at https://github.com/veox/python3-krakenex as references.
BTC donation address: 12X8GyUpfYxEP7sh1QaU4ngWYpzXJByQn5
FAQs
kraken.com API client library for NodeJS
The npm package kraken-api receives a total of 339 weekly downloads. As such, kraken-api popularity was classified as not popular.
We found that kraken-api 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.