Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
@paystack/checkout-js
Advanced tools
This is the client-side JS library for billing customers with Paystack. It makes it easy to create custom, secure payment experiences for merchant apps and websites. Checkout JS handles payment data encryption and transmission, this allows merchants to collect sensitive information such as credit card information without violating compliance.
It is used in Checkout, Paystack's proprietary checkout form.
See the Checkout JS public docs and development docs
Clone this repository
git clone git@github.com:PaystackHQ/checkout-js.git
Install dependencies with:
npm install
The source code can be found in the src/
folder.
Testing is done with Jest. To test your changes, run
npm test
To run tests in watch mode, run
npm run test:watch
Checkout JS is built with Rollup. To build, run the command
npm run build
You can also specify an environment to build for: dev
, staging
, or production
. Configuration variables are set in src/config.js
.
Checkout JS is deployed to three environments:
Checkout JS is automatically packaged and published to the NPM registry on every push to the master
and dev
branches.
The master
branch is publised under the latest
tag and can be installed by running npm i @paystack/checkout-js@latest
while the dev
branch is published under the dev
tag and can be installed using npm i @paystack/checkout-js@dev
All published versions are listed here on NPM https://www.npmjs.com/package/@paystack/checkout-js
FAQs
Client-side JS library for billing on Paystack
The npm package @paystack/checkout-js receives a total of 158 weekly downloads. As such, @paystack/checkout-js popularity was classified as not popular.
We found that @paystack/checkout-js 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
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.