nbp-exchange-rate 1.3.6 → 1.3.7

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 (2) hide show
  1. package/README.md +47 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
  [![license](https://img.shields.io/npm/l/nbp-exchange-rate.svg)](https://github.com/AllRates-Today/nbp-exchange-rate/blob/main/LICENSE)
5
5
  [![zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](https://www.npmjs.com/package/nbp-exchange-rate)
6
6
  [![TypeScript](https://img.shields.io/badge/TypeScript-types%20included-3178C6.svg)](https://www.typescriptlang.org/)
7
+ [![EUR/PLN today](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fallratestoday.com%2Fapi%2Fopen%2Fcentral-bank%2Fnbp%3Fsource%3DEUR%26target%3DPLN&query=%24.rate&label=EUR%2FPLN%20published%20by%20Narodowy%20Bank%20Polski&color=0A7E8C&cacheSeconds=3600)](https://allratestoday.com/central-bank-rates-api/nbp/)
8
+ [![rate date](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fallratestoday.com%2Fapi%2Fopen%2Fcentral-bank%2Fnbp%3Fsource%3DEUR%26target%3DPLN&query=%24.rate_date&label=rate%20date&color=555&cacheSeconds=3600)](https://allratestoday.com/central-bank-rates-api/nbp/)
7
9
 
8
10
  **Official Narodowy Bank Polski (Poland) daily exchange rates for Node.js and TypeScript. The published central bank rates behind tax filings, customs valuations, audits, and compliant invoicing — not market estimates, but the numbers Narodowy Bank Polski itself prints, every business day.**
9
11
 
@@ -33,6 +35,51 @@ console.log(r.rate_date, r.rates.length); // the central bank's latest published
33
35
 
34
36
  The open endpoint serves the *latest* table only and asks for a visible attribution link. The client below uses the keyed API, which adds point-in-time tables, history, and CSV/XML/Excel output.
35
37
 
38
+ ## 📈 Latest published table
39
+
40
+ Today's full Narodowy Bank Polski table, straight from the central bank's latest publication. On GitHub it is refreshed by [a daily Action](.github/workflows/daily-table.yml) that reads the keyless endpoint above and commits only when the central bank publishes a new table; the copy on npm is as of the package's publish date.
41
+
42
+ <!-- daily-table:start -->
43
+ Published **2026-10-08** by Narodowy Bank Polski — 32 rates. Updated 2026-10-08.
44
+
45
+ | Base | Quote | Type | Rate |
46
+ | --- | --- | --- | ---: |
47
+ | AUD | PLN | middle | 2.7211 |
48
+ | BRL | PLN | middle | 0.7793 |
49
+ | CAD | PLN | middle | 2.745 |
50
+ | CHF | PLN | middle | 4.6926 |
51
+ | CLP | PLN | middle | 0.004001 |
52
+ | CNY | PLN | middle | 0.5839 |
53
+ | CZK | PLN | middle | 0.1794 |
54
+ | DKK | PLN | middle | 0.5859 |
55
+ | EUR | PLN | middle | 4.3789 |
56
+ | GBP | PLN | middle | 5.1635 |
57
+ | HKD | PLN | middle | 0.4987 |
58
+ | HUF | PLN | middle | 0.01195 |
59
+ | IDR | PLN | middle | 0.00021868 |
60
+ | ILS | PLN | middle | 1.2733 |
61
+ | INR | PLN | middle | 0.040431 |
62
+ | ISK | PLN | middle | 0.031963 |
63
+ | JPY | PLN | middle | 0.024729 |
64
+ | KRW | PLN | middle | 0.002914 |
65
+ | MXN | PLN | middle | 0.2173 |
66
+ | MYR | PLN | middle | 0.9568 |
67
+ | NOK | PLN | middle | 0.4092 |
68
+ | NZD | PLN | middle | 2.1884 |
69
+ | PHP | PLN | middle | 0.0622 |
70
+ | RON | PLN | middle | 0.8179 |
71
+ | SEK | PLN | middle | 0.3912 |
72
+ | SGD | PLN | middle | 3.0534 |
73
+ | THB | PLN | middle | 0.1163 |
74
+ | TRY | PLN | middle | 0.0793 |
75
+ | UAH | PLN | middle | 0.0873 |
76
+ | USD | PLN | middle | 3.9132 |
77
+ | XDR | PLN | middle | 5.2976 |
78
+ | ZAR | PLN | middle | 0.235 |
79
+
80
+ Source: [Official rates published by NBP, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/nbp/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
81
+ <!-- daily-table:end -->
82
+
36
83
  ## 🔑 Get your API key
37
84
 
38
85
  Get a free API key at [allratestoday.com/register](https://allratestoday.com/register) — no credit card required. Latest rates are on every plan, including free.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nbp-exchange-rate",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "Official Narodowy Bank Polski (Poland) daily exchange rates — 32 currencies vs PLN, history since 2016. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "nbp",