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

mostlyright

v1.7.0

Published

Public-data SDK for TypeScript — one import for quants, ML pipelines, and AI agents. Adapters ship weather (METAR, ASOS, GHCNh, NWS CLI) and prediction-market settlements (Kalshi NHIGH/NLOW, Polymarket) today; SEC filings, Federal Reserve series, court fi

Downloads

2,457

Readme

mostlyright

The public-data SDK for quants, ML pipelines, and AI agents.

mostlyright is the convenience meta-package for the TypeScript SDK. A single import { research } from "mostlyright" re-exports the surfaces of @mostlyrightmd/core, @mostlyrightmd/weather, and @mostlyrightmd/markets — weather data (METAR, ASOS, GHCNh, NWS CLI), prediction-market settlements (Kalshi NHIGH/NLOW, Polymarket), and the core research() join. Direct calls to public APIs. No hosted backend, no API key.

Weather + prediction-markets adapters are live today. SEC filings (EDGAR), equities structured data, Federal Reserve series (FRED), court filings, and FDA approvals are next — and the architecture is built to ship an adapter for any public data source.

If you only need one slice of the SDK, depend on the scoped packages directly. If you want everything in one import, this is the package.

Install

pnpm add mostlyright
# or: npm install mostlyright

Quickstart

import { research } from "mostlyright";

const rows = await research("KNYC", "2025-01-06", "2025-01-12");
console.log(rows[0]);

Documentation

Quickstart, concepts, and the full API reference live at https://mostlyright.md/docs/sdk/.

TypeScript SDK limitations vs Python

A few surfaces ship as typed stubs in v1.x because their Python implementations depend on native libraries that aren't viable in browser/Node bundles today:

| TS Function | Status | Use Python? | Workaround in TS | |---|---|---|---| | research() | ✅ Wired | optional | — | | iemMosForecasts() | ✅ Wired | optional | — | | obs() / dailyExtremes() | ✅ Wired | optional | — | | forecastNwp() | ⏳ v2.0+ stub | yes for gridded NWP | iemMosForecasts() for the 7 major US stations | | climateGaps() | ⏳ v2.0+ stub | yes for climate-gap analysis | — |

Stub calls throw typed errors (NwpNotAvailableError, DataAvailabilityError) so you can instanceof-dispatch instead of parsing messages.

For the rationale and roadmap, see docs/nwp-forecasts.md and docs/climate-gaps.md.