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

@rundit-sdk/client

v0.3.1

Published

Rundit client SDK for third-party integrations authenticated with a Rundit API key.

Readme

@rundit-sdk/client

Rundit client SDK for third-party integrations authenticated with a Rundit API key.

Install

npm install @rundit-sdk/client

Usage

import { createClient } from '@rundit-sdk/client'

const client = createClient({
  apiKey: '<API key>',
  // baseUrl: 'https://test.rundit.com/api/v2/sdk',
})

await client.companies.getDashboards({ companyIds: [123], currency: 'USD' })

Authentication

  • Authenticated with a tenant-scoped Rundit API key sent via the X-API-Key header
  • API keys are user-scoped: every request resolves to the owning user's roles and company access; the SDK cannot escape those bounds
  • Obtain an API key from your Rundit account settings (personal API keys); rotate or revoke from the same screen
  • Treat keys as secrets: never commit them, prefer environment variables, and use separate keys per integration

AI Quickstart

  • Designed for third-party server-side or workflow integrations using a Rundit API key
  • Use namespace methods such as client.companies.getAll() or client.positions.getPortfolioPositions({ currency: 'USD' })
  • Inspect routeManifest at runtime for a machine-readable map of method paths, parameters, and response types
  • Read AGENTS.md or ai-manifest.json in this package for AI-focused usage guidance
  • Agent skill metadata is published under skills/rundit-sdk-client/SKILL.md
  • Follow the generated DTO types for identifiers; current company, company group, and transaction ids are numeric, while aggregated position summaries do not expose a standalone id

Methods

companies

companies.getDashboards

PREFERRED tool for multi-company analysis — full dashboards for many companies in one call

  • Call: client.companies.getDashboards({ companyIds: [123], currency: 'USD' })
  • HTTP: POST /companies/dashboards
  • Returns: CompaniesGetDashboardsResponse
  • Params: body: CompaniesGetDashboardsBody

companies.getDashboard

Get full company dashboard for ONE company

  • Call: client.companies.getDashboard(123, { currency: 'USD' })
  • HTTP: GET /companies/:id/dashboard
  • Returns: CompaniesGetDashboardResponse
  • Params: path: id (number); query: currency (string), metricsFrom? (string), transactionLimit? (number), reportLimit? (number)

companies.getOne

Get one company available to the SDK consumer

  • Call: client.companies.getOne(123)
  • HTTP: GET /companies/:id
  • Returns: CompaniesGetOneResponse
  • Params: path: id (number)

companies.getAll

List companies available to the SDK consumer

  • Call: client.companies.getAll({ limit: 123 })
  • HTTP: GET /companies
  • Returns: CompaniesGetAllResponse
  • Params: query: limit? (number), cursor? (string), companyIds? (number[]), companyGroupIds? (number[]), nameSearch? (string[])

companyGroups

companyGroups.getAll

List funds available to the SDK consumer

  • Call: client.companyGroups.getAll({ limit: 123 })
  • HTTP: GET /company-groups
  • Returns: CompanyGroupsGetAllResponse
  • Params: query: limit? (number), cursor? (string), companyGroupIds? (number[]), nameSearch? (string[])

companyGroups.getOne

Get one fund available to the SDK consumer

  • Call: client.companyGroups.getOne(123)
  • HTTP: GET /company-groups/:id
  • Returns: CompanyGroupsGetOneResponse
  • Params: path: id (number)

positions

positions.getPortfolioSummary

Get portfolio summary with positions and key metrics per company

  • Call: client.positions.getPortfolioSummary({ currency: 'USD' })
  • HTTP: GET /positions/portfolio/summary
  • Returns: PositionsGetPortfolioSummaryResponse
  • Params: query: limit? (number), cursor? (string), companyGroupIds? (number[]), companyIds? (number[]), currency (string), date? (string), metricTypeNames? (string[])

positions.getCompanyPositions

Get positions for one company

  • Call: client.positions.getCompanyPositions(123, { currency: 'USD' })
  • HTTP: GET /positions/companies/:id
  • Returns: PositionsGetCompanyPositionsResponse
  • Params: path: id (number); query: limit? (number), cursor? (string), companyGroupIds? (number[]), currency (string), date? (string)

positions.getPortfolioPositions

Get aggregated portfolio position totals

  • Call: client.positions.getPortfolioPositions({ currency: 'USD' })
  • HTTP: GET /positions/portfolio
  • Returns: PositionsGetPortfolioPositionsResponse
  • Params: query: companyGroupIds? (number[]), companyIds? (number[]), currency (string), date? (string)

transactions

transactions.getSummary

Get transaction activity summary

  • Call: client.transactions.getSummary({ currency: 'USD' })
  • HTTP: GET /transactions/summary
  • Returns: TransactionsGetSummaryResponse
  • Params: query: limit? (number), cursor? (string), companyGroupIds? (number[]), companyIds? (number[]), currency (string), groupBy? ("Month" | "Quarter" | "Year"), from? (string), to? (string)

transactions.getCompanyTransactions

Get transactions for one company

  • Call: client.transactions.getCompanyTransactions(123, { limit: 123 })
  • HTTP: GET /transactions/companies/:id
  • Returns: TransactionsGetCompanyTransactionsResponse
  • Params: path: id (number); query: limit? (number), cursor? (string), companyGroupIds? (number[]), types? (("Auction" | "ConvertibleNote" | "ConvertToEquity" | "Dividend" | "EquityInvestment" | "EquityReceived" | "Extend" | "FutureEquityAgreement" | "Insolvency" | "IPO" | "LimitedAuction" | "OptionsReceived" | "OtherExit" | "OtherInvestment" | "OtherRealization" | "Payback" | "Proprietary" | "TradeSale" | "ValuationChange" | "WriteOff")[]), priorTo? (string)

transactions.getTransactions

Get transactions for multiple companies

  • Call: client.transactions.getTransactions({ limit: 123 })
  • HTTP: GET /transactions
  • Returns: TransactionsGetTransactionsResponse
  • Params: query: limit? (number), cursor? (string), companyGroupIds? (number[]), types? (("Auction" | "ConvertibleNote" | "ConvertToEquity" | "Dividend" | "EquityInvestment" | "EquityReceived" | "Extend" | "FutureEquityAgreement" | "Insolvency" | "IPO" | "LimitedAuction" | "OptionsReceived" | "OtherExit" | "OtherInvestment" | "OtherRealization" | "Payback" | "Proprietary" | "TradeSale" | "ValuationChange" | "WriteOff")[]), priorTo? (string), companyIds? (number[])

metrics

metrics.getTypes

List metric types available to the SDK consumer

  • Call: client.metrics.getTypes()
  • HTTP: GET /metrics/types
  • Returns: MetricsGetTypesResponse

metrics.search

Read metric values for accessible companies, grouped by company

  • Call: client.metrics.search({})
  • HTTP: POST /metrics
  • Returns: MetricsSearchResponse
  • Params: body: MetricsSearchBody

metrics.compare

Compare metrics across companies

  • Call: client.metrics.compare({ metricTypeIds: [1,7] })
  • HTTP: POST /metrics/compare
  • Returns: MetricsCompareResponse
  • Params: body: MetricsCompareBody

metrics.aggregate

Aggregate metrics across portfolio companies

  • Call: client.metrics.aggregate({ metricTypeIds: [1,7], aggregation: "SUM" })
  • HTTP: POST /metrics/aggregate
  • Returns: MetricsAggregateResponse
  • Params: body: MetricsAggregateBody

companyReports

companyReports.list

List published company reports accessible to the caller (metadata only)

  • Call: client.companyReports.list({ limit: 123 })
  • HTTP: GET /company-reports
  • Returns: CompanyReportsListResponse
  • Params: query: limit? (number), cursor? (string), companyIds? (number[]), companyGroupIds? (number[]), companyNameSearch? (string[]), timeframe? ("Month" | "Quarter" | "Year"), from? (string), to? (string)

companyReports.getOne

Fetch the full content of a single company report

  • Call: client.companyReports.getOne(123)
  • HTTP: GET /company-reports/:id
  • Returns: CompanyReportsGetOneResponse
  • Params: path: id (number)

TypeScript

  • This package ships generated .d.ts files
  • Public DTOs, response aliases, and query parameter types are generated from spec/sdk.openapi.json
  • Generated methods and query types include JSDoc summaries for editor and agent consumption
  • Agent skill metadata is published under skills/rundit-sdk-client/SKILL.md

Notes

  • This package is generated from spec/sdk.openapi.json
  • Defaults to https://api.rundit.com/api/v2/sdk; pass baseUrl to target a different environment such as test
  • Do not edit files under dist/ manually