Skip to content

Releases: fiale-plus/bls-cli

v0.1.0

30 Mar 18:27

Choose a tag to compare

@fiale-plus/bls-cli v0.1.0

First release — unofficial CLI and TypeScript client for the Bureau of Labor Statistics API v2, designed for AI agents.

Features

  • Full BLS API v2 coverage — all 4 endpoints
  • Built-in shortcutsbls cpi, bls unemployment, bls jobs
  • Zero runtime dependencies — Node 18+
  • 3 output formats — JSON (default), CSV, table
  • TypeScript libraryimport { BlsClient } from "@fiale-plus/bls-cli"

Commands

  • bls series <id> [<id2>...] — fetch time series data
  • bls cpi — CPI-U All Items (CUUR0000SA0)
  • bls unemployment — Unemployment Rate (LNS14000000)
  • bls jobs — Total Nonfarm Employment (CEU0000000001)
  • bls popular — 25 most popular series
  • bls surveys — list all BLS surveys
  • bls survey <id> — survey metadata

Install

npm install -g @fiale-plus/bls-cli
export BLS_API_KEY=your-key-here
bls cpi --start-year 2024 --end-year 2026

Disclaimer

Not affiliated with the Bureau of Labor Statistics or the US Department of Labor.