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

@stellar-light/api-client

v1.0.1

Published

Typed TypeScript client for the Stellar Scout API — projects, builders, hackathons, SCF, audits, research. Zero dependencies, for autonomous agents and aggregators.

Readme

@stellar-light/api-client

Typed TypeScript client for the Stellar Scout API — projects, builders, hackathons, SCF funding, audits, and research for the Stellar ecosystem.

Zero runtime dependencies. Native fetch, works in Node 20+, browsers, and edge runtimes. Types are generated from the live OpenAPI 3.1 spec.

Which package do I want?

| You are building… | Use | |---|---| | An autonomous agent or aggregator that calls the API directly | this package | | A human-driven MCP client (Claude Desktop, Cursor, ChatGPT) | @stellar-light/scout-mcp | | With an agent that loads SKILL.md (Claude Code, Codex, OpenClaw) | npx skills add Stellar-Light/stellar-scout | | Your own client from the spec | npx openapi-typescript https://stellarlight.xyz/api/openapi.json -o scout.d.ts |

Install

npm install @stellar-light/api-client

Quickstart

import { ScoutClient } from "@stellar-light/api-client";

const scout = new ScoutClient();

// Has anyone already built this?
const { projects, meta } = await scout.searchProjects({
  q: "stablecoin off-ramp",
  scfAwarded: true,
  limit: 5,
});
console.log(meta.matchMode, projects.map((p) => p.name));

// What's currently fundable?
const { rfps } = await scout.getRfps({ status: "open" });

// Search the research corpus (SEPs, audits, papers, SCF Handbook…)
const research = await scout.searchResearch({
  q: "SEP-24 anchor security",
  source: "audit",
});

All methods

| Method | Endpoint | |---|---| | getStatus() | GET /api/status | | searchProjects(params) | GET /api/projects/search | | getHackathons(params) | GET /api/hackathons | | getHackathon(slug) | GET /api/hackathons/{slug} | | compareHackathons(slugs) | GET /api/hackathons/compare | | getBuilders(params) | GET /api/builders | | getRfps(params) | GET /api/rfps | | searchResearch(params) | GET /api/research | | listSkills(params) | GET /api/skills | | getSkill(name) | GET /api/skills/{name} | | getClusters(params) | GET /api/clusters | | analyzeEcosystem(params) | GET /api/analyze | | getLeaderboard(params) | GET /api/leaderboard | | submitFeedback(body) | POST /api/feedback |

All endpoints are public, read-only (except feedback), no auth, edge-cached.

Options

const scout = new ScoutClient({
  baseUrl: "https://stellarlight.xyz", // default
  timeoutMs: 30_000,                   // default
  headers: { "x-agent-name": "my-aggregator" }, // identify yourself (appreciated!)
  fetch: customFetch,                  // testing / instrumentation
});

Errors

Non-2xx responses throw ScoutApiError with .status, .url, and the parsed error .body:

import { ScoutApiError } from "@stellar-light/api-client";

try {
  await scout.getSkill("nope");
} catch (err) {
  if (err instanceof ScoutApiError && err.status === 404) {
    // handle unknown slug
  }
}

Data sources behind the API

The endpoints merge: the stellarlight directory (~741 curated Stellar projects), Stellar Passport builder profiles, Electric Capital developer activity, the Soroban audit corpus (Certora, OtterSec, Halborn, OpenZeppelin, Code4rena…), SDF's skills.stellar.org catalog, lumenloop ecosystem data, and primary research (SEPs, Mazières SCP paper, dev docs, SCF Handbook) — 4,541 embedded chunks searchable via searchResearch.

Regenerating types

Types live in src/schema.ts, generated from the live spec:

pnpm generate

License

MIT — stellarlight.xyz