Skip to content

Releases: fiale-plus/treasury-cli

v0.1.0

30 Mar 18:27
caaedc7

Choose a tag to compare

@fiale-plus/treasury-cli v0.1.0

First release — unofficial CLI and TypeScript client for the US Treasury Fiscal Data API, designed for AI agents.

Features

  • 13 named endpoints + raw query command for any endpoint
  • Zero auth required — Treasury API is completely open
  • Zero runtime dependencies — Node 18+
  • 3 output formats — JSON (default), CSV, table
  • TypeScript libraryimport { TreasuryClient } from "@fiale-plus/treasury-cli"

Commands

  • treasury debt — total public debt (debt to the penny)
  • treasury rates — average interest rates on Treasury securities
  • treasury cash — Treasury operating cash balance
  • treasury spending — monthly receipts and outlays
  • treasury revenue — receipts by source
  • treasury exchange — foreign exchange rates
  • treasury query <endpoint> — query any endpoint directly

Install

npm install -g @fiale-plus/treasury-cli
treasury debt --limit 5

Disclaimer

Not affiliated with the US Department of the Treasury.