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

minia2a-client

v1.2.3

Published

One-call access to 150+ AI agent tools via x402 USDC micropayments on Base. Gas, captcha, web scraping, token security, DeFi data, and more — pay per call with no API keys.

Readme

minia2a-client

One-call access to 150+ AI agent tools via x402 USDC micropayments on Base L2. No API keys, no KYC, no signup — agents pay per call with USDC.

Install

npm install minia2a-client

Quick start

const minia2a = require("minia2a-client");

// Auto-register (creates wallet, 500 free credits ~$2.50)
const wallet = await minia2a.getOrCreateWallet();
console.log("Wallet:", wallet.address, "| Credits:", wallet.credits);

// Call any service — payment is automatic from credits
const gas = await minia2a.call("gas");
console.log("Base gas:", gas);

const price = await minia2a.call("dex-price", { address: "0x..." });
console.log("Token price:", price);

// List all 150+ services
const services = await minia2a.listServices();
console.log(services.length, "services available");

CLI

npx minia2a gas
npx minia2a captcha-solve --sitekey=XXX --url=https://example.com
npx minia2a token-security --address=0x...
npx minia2a list
npx minia2a status

Popular services

| Category | Services | |----------|----------| | Crypto | gas, dex-price, token-security, wallet-intel, funding-rate, polymarket | | Web | web-scrape, screenshot, fetch, pdf-text, dns, ip-lookup | | Data | summarize, sentiment, markdown, jwt-decode, base64, csv-json | | Security | captcha-solve, api-review, email-verify, url-safety |

How it works

  1. Register — auto-creates a Base wallet with 500 free credits
  2. Call — each service is an HTTP endpoint at https://minia2a.uk/x402/{service}
  3. Pay — credits are deducted per call (1 credit = $0.005)
  4. Buy more — 1 USDC = 200 credits when free credits run out

Documentation

License

MIT

Framework Integration

ElizaOS

import { call, getOrCreateWallet } from 'minia2a-client';

export const minia2aGasAction = {
  name: 'MINIA2A_GAS',
  description: 'Get current gas prices across chains',
  handler: async () => {
    await getOrCreateWallet();
    return call('gas');
  }
};

LangChain

import { DynamicTool } from 'langchain/tools';
import { call, getOrCreateWallet } from 'minia2a-client';

await getOrCreateWallet();

export const minia2aGasTool = new DynamicTool({
  name: 'minia2a_gas',
  description: 'Get current Base L2 gas prices. No input needed.',
  func: async () => JSON.stringify(await call('gas'))
});

Custom Agent (Node.js)

const minia2a = require('minia2a-client');

async function agentTask() {
  const wallet = await minia2a.getOrCreateWallet();
  const gas = await minia2a.call('gas');
  const token = await minia2a.call('token-security', { address: '0x...' });
  return { gas, token };
}

CLI (no code)

npx minia2a gas
npx minia2a captcha-solve --sitekey=SITEKEY --url=https://example.com
npx minia2a list
npx minia2a status

Ecosystem

  • Genesis Registry — Immortalize your agent on-chain. 5-year preservation guarantee. Three tiers starting at /bin/bash.01.
  • Agent Guide — Step-by-step tutorial: build an agent that pays for its own APIs.
  • Live Stats — Real-time marketplace metrics.

Support

  • Docs: https://minia2a.uk/x402-help.html
  • Register: {"error":"one free account per IP. Shared IP? Generate wallet (node: ethers.Wallet.createRandom()), then POST /api/v1/register-user {name,wallet} + X-Wallet-Signature. See AGENTS.md","hint":"you already registered on 2026-07-29T05:28:06.676Z"}
  • Issues: https://github.com/afu20260324/minia2a