paystack-inline-ts
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

paystack-inline-ts

A TypeScript wrapper for the Paystack Inline JS library.

Introduction

paystack-inline-ts is a TypeScript-friendly wrapper around the @paystack/inline-js library. It provides type definitions and a more robust development experience for TypeScript users who want to integrate Paystack's payment solutions into their projects.

Features

  • Full TypeScript support for Paystack Inline JS
  • Type definitions for Paystack options and response objects
  • Seamless integration with existing TypeScript projects
  • Improved IDE autocompletion and type checking

Installation

You can install paystack-inline-ts using npm:

npm install paystack-inline-ts

Usage

Here's a basic example of how to use paystack-inline-ts:

import PaystackPop { ResumeTransactionOptions } from 'paystack-inline-ts';

Then you can follow with how things are done in the official documentation

Why Use paystack-inline-ts?

  1. Type Safety: Catch potential errors at compile-time rather than runtime.
  2. Better Developer Experience: Enjoy autocompletion and inline documentation in your IDE.
  3. Easier Integration: Seamlessly integrate Paystack payments into your TypeScript projects.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.

Acknowledgements

This package is a TypeScript wrapper around the official @paystack/inline-js library. All credit for the underlying functionality goes to the Paystack team.

Package Sidebar

Install

npm i paystack-inline-ts

Weekly Downloads

76

Version

1.0.3

License

MIT

Unpacked Size

10.4 kB

Total Files

12

Last publish

Collaborators

  • adefemigreat