@fre4x/yahoo-finance 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.
- package/README.md +10 -1
- package/dist/index.js +58854 -33736
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -39,6 +39,14 @@ Price history, balance sheets, insider moves, analyst upgrades, options flow —
|
|
|
39
39
|
|
|
40
40
|
All list tools support pagination via `limit` / `offset`. No API key required.
|
|
41
41
|
|
|
42
|
+
## Mock Mode
|
|
43
|
+
|
|
44
|
+
Run without any API key (returns fixture data of identical shape):
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
MOCK=true npx @fre4x/yahoo-finance
|
|
48
|
+
```
|
|
49
|
+
|
|
42
50
|
## Deploy
|
|
43
51
|
|
|
44
52
|
```json
|
|
@@ -57,7 +65,8 @@ All list tools support pagination via `limit` / `offset`. No API key required.
|
|
|
57
65
|
```bash
|
|
58
66
|
npm install
|
|
59
67
|
npm run dev # tsx, no build
|
|
60
|
-
npm run build #
|
|
68
|
+
npm run build # esbuild → dist/
|
|
69
|
+
npm test # vitest unit tests
|
|
61
70
|
```
|
|
62
71
|
|
|
63
72
|
## License
|