snb-exchange-rate 1.3.9 → 1.3.13
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 +3 -3
- package/package.json +11 -1
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
|
|
|
42
42
|
The image is rendered live from the keyless endpoint above, so it follows the central bank's publications on npm and on GitHub alike without a new release. The text copy below is there for search and copy-paste: on GitHub [a daily Action](.github/workflows/daily-table.yml) refreshes it whenever the central bank publishes a new table; on npm it is as of the package's publish date.
|
|
43
43
|
|
|
44
44
|
<!-- daily-table:start -->
|
|
45
|
-
Published **2026-09-30** by Swiss National Bank — 26 rates. Updated 2026-10-
|
|
45
|
+
Published **2026-09-30** by Swiss National Bank — 26 rates. Updated 2026-10-14.
|
|
46
46
|
|
|
47
47
|
| Base | Quote | Type | Rate |
|
|
48
48
|
| --- | --- | --- | ---: |
|
|
@@ -334,9 +334,9 @@ getRate('EUR', 'CHF', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
|
|
|
334
334
|
|
|
335
335
|
Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
|
|
336
336
|
|
|
337
|
-
- Hugging Face: [
|
|
337
|
+
- Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) — one CSV per institution (`rates/snb.csv`)
|
|
338
338
|
- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
|
|
339
|
-
-
|
|
339
|
+
- Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/snb/latest.json`
|
|
340
340
|
|
|
341
341
|
## 🔗 Links
|
|
342
342
|
|
package/package.json
CHANGED
|
@@ -1,18 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snb-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.13",
|
|
4
4
|
"description": "Official Swiss National Bank (Switzerland) monthly exchange rates — 26 currencies vs CHF, history since 1914. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"snb",
|
|
7
|
+
"swiss-national-bank",
|
|
7
8
|
"swiss",
|
|
8
9
|
"national",
|
|
9
10
|
"bank",
|
|
10
11
|
"exchange-rate",
|
|
11
12
|
"exchange-rates",
|
|
13
|
+
"exchangerate",
|
|
14
|
+
"exchange rate",
|
|
15
|
+
"chf-exchange-rate",
|
|
12
16
|
"currency",
|
|
13
17
|
"forex",
|
|
14
18
|
"fx",
|
|
15
19
|
"chf",
|
|
20
|
+
"currency-api",
|
|
21
|
+
"currency-exchange-rates",
|
|
22
|
+
"forex-api",
|
|
23
|
+
"currency-conversion",
|
|
24
|
+
"currency-exchange",
|
|
25
|
+
"currency-rates",
|
|
16
26
|
"central-bank",
|
|
17
27
|
"official-rates",
|
|
18
28
|
"switzerland",
|