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

@clod-sdk/core

v0.1.0

Published

TypeScript SDK for Clod — Solana Token Launchpad powered by Meteora Dynamic Bonding Curve

Downloads

111

Readme

clod-sdk

TypeScript SDK for Clod — Solana Token Launchpad powered by Meteora Dynamic Bonding Curve.

npm License

Install

npm install @getclod/sdk

Quick Start

import { Clod } from 'clod-sdk';

const clod = new Clod({ baseUrl: 'https://clod.fun' });

Market Data

// List all tokens sorted by market cap
const { deployments, total } = await clod.market.list({
  sort: 'ranking',  // 'ranking' | 'new' | 'old'
  limit: 20,
  page: 1,
});

// Get market data for a single token
const data = await clod.market.getTokenData('mint_address_here');
console.log(data);
// → {
//     mcap: 50000,
//     price: 0.001,
//     volume24h: 1200,
//     bondingProgress: 45.2,
//     isMigrated: false
//   }

// Batch market data for multiple tokens
const batch = await clod.market.getMarketData(['mint1', 'mint2', 'mint3']);

// Get tokens by creator wallet
const myTokens = await clod.market.byWallet('wallet_address');

Token Deployment

// Get available trading pairs
const pairs = await clod.deploy.getPairs();
// → [{ symbol: "SOL", mint: "So11...", available: true }]

// Upload token image
const imageUrl = await clod.deploy.uploadImage(imageFile);

// Build unsigned deploy transaction
const { transaction, intentId, mint } = await clod.deploy.buildTransaction({
  name: 'MyToken',
  symbol: 'MTK',
  description: 'A cool token on Solana',
  image: imageUrl,
  pair: 'SOL',
  twitter: 'https://x.com/mytoken',
});

// Sign with wallet adapter, then send
const { signature } = await clod.deploy.sendSigned({
  signedTransaction: base64SignedTx,
  mint: mint,
});

// Finalize — verify on-chain & save
const result = await clod.deploy.finalize({
  signature,
  mint,
  wallet: 'creator_wallet_address',
});

Fees

// Get total platform fees earned
const { totalFees } = await clod.fees.getTotal();
console.log(`Total fees: ${totalFees} SOL`);

Error Handling

import { Clod, ClodApiError } from 'clod-sdk';

try {
  const data = await clod.market.list();
} catch (err) {
  if (err instanceof ClodApiError) {
    console.error(`API Error (${err.status}): ${err.message}`);
  }
}

Configuration

const clod = new Clod({
  baseUrl: 'https://clod.fun',  // Required
  timeout: 30000,               // Optional (default: 30s)
});

API Reference

clod.market

| Method | Description | |--------|-------------| | .list(opts?) | List tokens with pagination & sorting | | .byWallet(wallet, page?) | Get tokens by creator wallet | | .getMarketData(mints) | Batch fetch market data | | .getTokenData(mint) | Get single token market data |

clod.deploy

| Method | Description | |--------|-------------| | .getPairs() | Get available trading pairs | | .uploadImage(file) | Upload token image | | .buildTransaction(params) | Build unsigned deploy tx | | .sendSigned(params) | Send signed transaction | | .finalize(params) | Verify on-chain & save |

clod.fees

| Method | Description | |--------|-------------| | .getTotal() | Get total platform fees |

License

MIT © getclod