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

like-axiom

v1.8.1

Published

Axiom Trade wrapper for Node.js

Downloads

39

Readme

like-axiom

Axiom Trade wrapper for Node.js

npm i like-axiom

https://axiomsolana.com/

Usage

const AxiomTrade = require('like-axiom')

const axiom = new AxiomTrade({
  token: '<auth refresh token>'
})

const memeTrending = await axiom.memeTrending({ timePeriod: '1h' })
const memeTrending6h = await axiom.memeTrending({ timePeriod: '6h' })

const oldTrending = await axiom.oldTrending({ timePeriod: '1h' })

const newPairs = await axiom.pulse('newPairs')
const pairs = await axiom.pulse('finalStretch')
const pairsMigrated = await axiom.pulse('migrated')

const found = await axiom.search('AI')

const info = await axiom.tokenInfo(pairs[0].pairAddress)

const portfolio = await axiom.portfolio('<wallet address...>')

// ...

API

axiom = new AxiomTrade(options)

Create a new Axiom.Trade instance.

Options:

{
  token: process.env.AXIOM_TRADE_TOKEN // Cookie value of auth-refresh-token
}

await axiom.auth()

Generates a new access token (auth-access-token).

It's automatically used in the API requests.

pairs = await axiom.memeTrending([options])

Get the list of meme coins that are trending.

Options:

{
  timePeriod: '1h' // Possible values are: '5m', '1h', '6h', or '24h'
}

Returns an array with values like this:

{
  pairAddress,
  tokenAddress,
  tokenName,
  tokenTicker,
  tokenImage,
  tokenDecimals,
  protocol,
  protocolDetails: {
    id,
    lpMint,
    lpVault,
    version,
    baseMint,
    marketId,
    authority, baseVault, programId, quoteMint,
    marketAsks, marketBids, openOrders,
    quoteVault,
    lpDecimals, baseDecimals, quoteDecimals,
    targetOrders,
    withdrawQueue,
    marketVersion, marketAuthority, marketBaseVault,
    marketProgramId, marketEventQueue, marketQuoteVault,
    lookupTableAccount
  },
  prevMarketCapSol,
  marketCapSol,
  marketCapPercentChange,
  liquiditySol,
  liquidityToken,
  volumeSol,
  buyCount,
  sellCount,
  top10Holders,
  lpBurned,
  mintAuthority,
  freezeAuthority,
  dexPaid,
  website, twitter, telegram, discord,
  createdAt,
  extra: { migratedFrom, pumpDeployerAddress },
  supply,
  twitterHandleHistory
}

pairs = await axiom.oldTrending([options])

Get the list of meme coins that are trending.

Options:

{
  timePeriod: '1h' // Possible values are: '5m', '1h', '6h', or '24h'
}

Similar output than meme trending, but properties are in snake case format!

pairs = await axiom.pulse(table, [options])

Get the list of new pairs, final stretch, and migrated coins.

Table can be: newPairs, finalStretch, or migrated.

Options:

{
  filters, // See possible values below
  usdPerSol: 0 // Auto fetch the price
}

Returns an array with values like this:

{
  pairAddress,
  tokenAddress,
  devAddress,
  tokenName,
  tokenTicker,
  tokenImage,
  tokenDecimals,
  protocol,
  protocolDetails: {
    global,
    feeRecipient,
    eventAuthority,
    associatedBondingCurve
  },
  website,
  twitter,
  telegram,
  discord,
  top10HoldersPercent,
  devHoldsPercent,
  snipersHoldPercent,
  insidersHoldPercent,
  bundlersHoldPercent,
  volumeSol,
  marketCapSol,
  liquiditySol,
  liquidityToken,
  bondingCurvePercent,
  supply,
  numTxns,
  numBuys,
  numSells,
  numHolders,
  numTradingBotUsers,
  createdAt,
  extra,
  dexPaid,
  migrationCount,
  twitterHandleHistory
}

Example with filters:

const pairs = await axiom.pulse('finalStretch', {
  filters: {
    txns: { min: 10 }
  }
})

Filters available:

{
  protocols: { raydium: false, pump: true, moonshot: true },
  searchKeywords: [],
  excludeKeywords: [],
  dexPaid: false,
  mustEndInPump: false,
  age: { min: null, max: null },
  top10Holders: { min: null, max: null },
  devHolding: { min: null, max: null },
  snipers: { min: null, max: null },
  insiders: { min: null, max: null },
  bundle: { min: null, max: null },
  holders: { min: null, max: null },
  botUsers: { min: null, max: null },
  bondingCurve: { min: null, max: null },
  liquidity: { min: null, max: null },
  volume: { min: null, max: null },
  marketCap: { min: null, max: null },
  txns: { min: null, max: null },
  numBuys: { min: null, max: null },
  numSells: { min: null, max: null },
  twitter: { min: null, max: null },
  website: false,
  telegram: false
}

found = await axiom.search(input)

Search tokens by name, token address, pair address, etc.

Returns an array:

[..., {
  tokenName,
  tokenImage,
  tokenTicker,
  createdAt,
  pairAddress,
  tokenAddress,
  protocol,
  supply,
  liquiditySol,
  liquidityToken,
  marketCapSol,
  bondingCurvePercent,
  volumeSol,
  extra,
  website,
  twitter,
  telegram,
  discord
}]

info = await axiom.tokenInfo(pairAddress)

Get the details of a token.

Returns:

{
  top10HoldersPercent,
  devHoldsPercent,
  snipersHoldPercent,
  insidersHoldPercent,
  bundlersHoldPercent,
  dexPaid,
  numHolders,
  numBotUsers,
  numBluechipHolders
}

portfolio = await axiom.portfolio(walletAddress)

Get the investment details of a wallet.

Returns an object like this:

{
  activePositions,
  historyPositions,
  topPositions,
  transactions,
  balanceStats: { totalValueSol, availableBalanceSol, unrealizedPnlSol },
  performanceMetrics: {
    sevenDay: { totalPnl, buyCount, sellCount, pnlBreakdown },
    thirtyDay: { totalPnl, buyCount, sellCount, pnlBreakdown },
    allTime: { totalPnl, buyCount, sellCount, pnlBreakdown }
  },
  chartData
}

usdPerSol = await axiom.usdPerSol()

Get the price of SOL in USD.

Useful for caching the price option in pulse requests.

License

MIT