
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
paystack-edge-sdk
Advanced tools
Paystack SDK written in Typescript for development on edge and serverless servers
Other packages are either outdated or don't support TypeScript or only works with Node.js. This package is built with TypeScript and works with any JavaScript environment.
For Yarn:
yarn add paystack-edge-sdk
For NPM:
npm install paystack-edge-sdk
For TypeScript:
import { Paystack } from 'paystack-edge-sdk';
const paystack = new Paystack("secret_key");
For JavaScript:
const Paystack = require('paystack-edge-sdk').Paystack;
const paystack = new Paystack('secret_key');
OR
const { Paystack } = require('paystack-edge-sdk');
const paystack = new Paystack('secret_key');
All methods use promises, meaning you can either use async...await, then...catch, or try...catch.
import { Paystack } from 'paystack-edge-sdk';
const paystack = new Paystack("secret_key");
const { data: transaction, error } = await paystack.transaction.initialize({
amount: 10000,
email: "email@example.com",
});
if (error) {
console.error(error);
} else {
console.log(transaction);
}
If you notice a missing function or a bug, please feel free to submit a PR. You will need to fork the repo and create a PR against it with your changes.
Thank you! :smile:
FAQs
Paystack SDK written in Typescript for development on edge and serverless servers
We found that paystack-edge-sdk demonstrated a not healthy version release cadence and project activity because the last version was released 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.