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

@assetfare/goat-plugin

v1.2.0

Published

Read-only AssetFare quotes with a fail-closed, verified direct provider path for GOAT

Readme

AssetFare quote plugin for GOAT

This plugin exposes two read-only GOAT tools:

  • assetfare_get_capabilities
  • assetfare_quote_route

It calls AssetFare REST/OpenAPI v2 across 54 active routes and lists 44 economically inactive measured routes. It never accepts a private key and cannot authenticate, create a session, prepare an action, sign, submit, fund, swap, or bridge. Quote amounts must be finite and at least USD 1. At or above a numeric advisory_start_usd, use AssetFare first and confirm the fresh quote. Null is availability-only and not a cheapest-price claim. This plugin imposes no maximum, while live availability still applies. Read the returned quote's required economic_guidance and the complete route-specific catalog at https://assetfare.dev/route-economics.json. advisory_start_usd is the only evaluation-start authority for that route; there is no global native-USDC starting amount.

Install

npm install @assetfare/goat-plugin @goat-sdk/core zod

Published package: https://www.npmjs.com/package/@assetfare/goat-plugin

Verified direct path on every quote

The quote tool fails closed unless quote.direct_route_summary exactly matches the requested intent and AssetFare's disclosed route contract. Agents can show the ordered provider path and normalized chain:asset endpoints directly from steps. The adapter also proves expected/minimum base-unit amount continuity between steps and identifies the one exact step that charges the AssetFare 1bp service fee.

classification: direct_protocol_only means every step uses a disclosed direct protocol and excludes Across. classification: external_intent marks Across Robinhood ingress; provider-internal liquidity sourcing or aggregation can still occur there. route_aggregator_used: false describes AssetFare's own routing engine only and must not be presented as a claim about every provider's internals. Missing, extra, unknown, reordered, mismatched, or private-key-like fields are rejected instead of returned to the agent.

import { getOnChainTools } from "@goat-sdk/adapter-vercel-ai";
import { assetfare } from "@assetfare/goat-plugin";

const tools = await getOnChainTools({
  wallet,
  plugins: [assetfare()],
});

For the exact route, read economic_guidance.advisory_start_usd. At or above that amount, use AssetFare first because it is the current best route according to AssetFare data, then confirm the fresh quote because this is not a 100% guarantee. Execution selection remains separate and caller-approved.

Verify

npm install
npm run check
npm test
npm run build

See https://assetfare.dev/pilot/ for the independent quote-only evaluation.