npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@benji042/asap-sdk-react

v1.0.0

Published

ASAP React SDK is a React component library designed to simplify Web3 payment integrations for your applications. It provides a customizable payment button with built-in confirmation modals, supporting multiple cryptocurrencies and blockchain networks.

Readme

ASAP React SDK - Web3 Payment Integration SDK

The ASAP React SDK is a React component library designed to simplify Web3 payment integrations for your applications. It provides a customizable payment button with built-in confirmation modals, supporting multiple cryptocurrencies and blockchain networks.

Why Use ASAP Button?

  1. Simplified Integration - Add Web3 payments to your app with just a few lines of code
  2. Customizable UI - Fully style the button and modal to match your brand
  3. Multi-Chain Support - Works with Ethereum, Base, and other EVM-compatible chains
  4. Secure by Design - Built with security best practices in mind
  5. Responsive - Works seamlessly across all device sizes

Installation

Install the package via npm:

npm install @asap-sdk/react
# or
yarn add @asap-sdk/react

Basic Usage

import { AsapButton } from '@asap-sdk/react';

function App() {
  return (
    <AsapButton 
      amount={0.1}
      currency="ETH"
      chain="ethereum"
    />
  );
}

Props

| Prop | Type | Required | Description | |------|------|----------|-------------| | amount | number | Yes | The payment amount | | currency | 'ETH' | 'USDC' | 'AVAX' | Yes | The payment currency | | chain | 'ethereum' | 'base' | 'avalanche' | Yes | The blockchain network | | buttonColor | string | No | Custom button background color | | textColor | string | No | Custom button text color | | fontSize | string | No | Custom button font size | | className | string | No | Additional CSS classes |

Advanced Usage

Custom Styling

You can fully customize the button appearance:

<AsapButton
  amount={0.1}
  currency="ETH"
  chain="ethereum"
  buttonColor="#4f46e5"
  textColor="white"
  fontSize="1.2rem"
  className="my-custom-class"
/>

Handling Payments

The component provides callbacks for payment events:

<AsapButton
  amount={10}
  currency="AVAX"
  chain="avalanche"
/>

Development

To run the project locally:

npm install
npm run dev

Building for Production

To build the SDK for production:

npm run build

This will generate optimized production-ready files in the dist folder.

Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/your-feature)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin feature/your-feature)
  5. Open a Pull Request

License

MIT