Socket
Book a DemoInstallSign in
Socket

@paystack/inline-js

Package Overview
Dependencies
Maintainers
7
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paystack/inline-js

Client-side library to load the Paystack checkout form

Source
npmnpm
Version
2.15.0-dev.4
Version published
Weekly downloads
10K
-3.86%
Maintainers
7
Weekly downloads
 
Created
Source

Inline JS

This is the client-side JS library for loading the Paystack checkout form. It makes it easy to accept payments from a web application and to create custom, secure payment experiences for merchant apps and websites.

Quick start

Requirements

node >= 12.0.0
npm >= 6.0.0

Setup

Clone this repository

git clone https://github.com/PaystackHQ/inline-js.git

Install dependencies with:

npm install

Local development

To test Inline JS locally, run the command;

npm run dev

This spins up a http-server serving the dev folder and you can then visit the different HTML files in that folder to test various APIs and payment flows.

Testing

This project uses Jest for unit testing. To run all tests, use the command;

npm test

Deployment

Inline JS is deployed to:

Documents

Keywords

paystack

FAQs

Package last updated on 12 Mar 2024

Did you know?

Socket

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.

Install

Related posts