open-index/open-npm huggingface dataset:
npm package: @jkitcen/universal-router-sdk
Description: 🛠 An SDK for building applications on top of Pancakeswap.
Latest version: 1.0.16

# universal-router-sdk

This SDK facilitates interactions with Universal Router. This repo is the pancakeswap variation of the original Universal-router-sdk by UniswapLabs. The PancakeSwap implementation makes the necessary changes in order to be compatible with the Pancakeswap smart-router and other existing SDK's.

## Usage

Install latest version of universal-router-sdk. Then import the corresponding Trade class and Data object for each protocol you'd like to interact with.

```sh
npm add @jkitcen/universal-router-sdk
# or
yarn add @jkitcen/universal-router-sdk
# or
pnpm add @jkitcen/universal-router-sdk
```
npm package: @jkitsao/dhcli
Description: DevHooks CLI for forwarding and testing webhooks locally
Author: Jackson Kitsao
Latest version: 0.3.0

# @jkitsao/dhcli

> DevHooks CLI for forwarding and testing webhooks locally — without setting up ngrok.

A simple, developer-friendly CLI tool for simulating and forwarding webhooks to your local server. Great for testing M-Pesa, Paystack, or any other webhook-based integrations.

---

## ✨ Features

- 🔁 Forward webhook events to local/staging endpoints
- 📡 Listen for real-time events from the DevHooks dashboard
- 🔧 Designed for mobile money, payments, and API testing
- 🛠 Works out of the box — no tunnels or ngrok needed

---

## 📦 Installation

```bash
npm install -g @jkitsao/dhcli

```

```bash

Or use with `npx`:
```

`npx @jkitsao/dhcli`

---

## 🚀 Usage

### Forward a webhook to your local endpoint

`dhcli forward <ref> --target http://localhost:3000/api/webhook`

- `ref`: The unique webhook reference from your DevHooks dashboard

- `--target`: Your local or remote URL to forward to

Example:

`dhcli forward abc123 --target http://localhost:4000/api/payment`

---

### 2\. Real-Time Events (Preview)

When connected to the DevHooks backend, `dhcli` listens to real-time webhook events triggered via the dashboard or simulator. These events will be forwarded to the specified target automatically.

This requires:

- The webhook `ref` to be active in the DevHooks dashboard

- A listener CLI session running

---

### 3\. CLI Help

To view available commands and options:

bash

CopyEdit

`dhcli --help`

---

### 4\. Advanced (Coming Soon)

- **Simulate traffic**: Trigger 50+ webhook hits to test performance

- **Trigger flows**: Chain webhook → email → SMS

- **Mock runners**: Use predefined M-Pesa and Paystack events

---

Need help? Contact [@jkitsao](https://github.com/jkitsao) or open an issue.