Releases: fiale-plus/bls-cli
Releases · fiale-plus/bls-cli
v0.1.0
@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 shortcuts —
bls cpi,bls unemployment,bls jobs - Zero runtime dependencies — Node 18+
- 3 output formats — JSON (default), CSV, table
- TypeScript library —
import { BlsClient } from "@fiale-plus/bls-cli"
Commands
bls series <id> [<id2>...]— fetch time series databls cpi— CPI-U All Items (CUUR0000SA0)bls unemployment— Unemployment Rate (LNS14000000)bls jobs— Total Nonfarm Employment (CEU0000000001)bls popular— 25 most popular seriesbls surveys— list all BLS surveysbls 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 2026Disclaimer
Not affiliated with the Bureau of Labor Statistics or the US Department of Labor.