@fre4x/fred 1.0.30 → 1.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +10 -1
  2. package/dist/index.js +16066 -16050
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -25,6 +25,14 @@ All list tools support pagination via `limit` / `offset`.
25
25
 
26
26
  A [FRED API key](https://fred.stlouisfed.org/docs/api/api_key.html) (free) — set as `FRED_API_KEY`.
27
27
 
28
+ ## Mock Mode
29
+
30
+ Run without an API key (returns fixture data of identical shape):
31
+
32
+ ```bash
33
+ MOCK=true npx @fre4x/fred
34
+ ```
35
+
28
36
  ## Deploy
29
37
 
30
38
  ```json
@@ -46,7 +54,8 @@ A [FRED API key](https://fred.stlouisfed.org/docs/api/api_key.html) (free) — s
46
54
  ```bash
47
55
  npm install
48
56
  npm run dev # tsx, no build
49
- npm run build # compile → dist/
57
+ npm run build # esbuild → dist/
58
+ npm test # vitest unit tests
50
59
  ```
51
60
 
52
61
  ## License