@allratestoday/cbtt-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 +34 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
  [![license](https://img.shields.io/npm/l/@allratestoday%2Fcbtt-exchange-rate.svg)](https://github.com/AllRates-Today/cbtt-exchange-rate/blob/main/LICENSE)
5
5
  [![zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](https://www.npmjs.com/package/@allratestoday/cbtt-exchange-rate)
6
6
  [![TypeScript](https://img.shields.io/badge/TypeScript-types%20included-3178C6.svg)](https://www.typescriptlang.org/)
7
+ [![USD/TTD today](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fallratestoday.com%2Fapi%2Fopen%2Fcentral-bank%2Fcbtt%3Fsource%3DUSD%26target%3DTTD&query=%24.rate&label=USD%2FTTD%20published%20by%20Central%20Bank%20of%20Trinidad%20and%20Tobago&color=0A7E8C&cacheSeconds=3600)](https://allratestoday.com/central-bank-rates-api/cbtt/)
8
+ [![rate date](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fallratestoday.com%2Fapi%2Fopen%2Fcentral-bank%2Fcbtt%3Fsource%3DUSD%26target%3DTTD&query=%24.rate_date&label=rate%20date&color=555&cacheSeconds=3600)](https://allratestoday.com/central-bank-rates-api/cbtt/)
7
9
 
8
10
  **Official Central Bank of Trinidad and Tobago (Trinidad and Tobago) 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 Central Bank of Trinidad and Tobago itself prints, every business day.**
9
11
 
@@ -33,6 +35,38 @@ 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 Central Bank of Trinidad and Tobago 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 Central Bank of Trinidad and Tobago — 19 rates. Updated 2026-10-08.
44
+
45
+ | Base | Quote | Type | Rate |
46
+ | --- | --- | --- | ---: |
47
+ | BBD | TTD | buy | 2.85 |
48
+ | BBD | TTD | sell | 3.6491 |
49
+ | CAD | TTD | buy | 4.7917 |
50
+ | CAD | TTD | sell | 5.0822 |
51
+ | CHF | TTD | buy | 8.1224 |
52
+ | EUR | TTD | buy | 7.9293 |
53
+ | EUR | TTD | sell | 8.8622 |
54
+ | GBP | TTD | buy | 8.9261 |
55
+ | GBP | TTD | sell | 9.6315 |
56
+ | GYD | TTD | buy | 0.0316 |
57
+ | GYD | TTD | sell | 0.0328 |
58
+ | JMD | TTD | buy | 0.0413 |
59
+ | JMD | TTD | sell | 0.0428 |
60
+ | JPY | TTD | buy | 0.0427 |
61
+ | JPY | TTD | sell | 0.0463 |
62
+ | USD | TTD | buy | 6.7511 |
63
+ | USD | TTD | sell | 6.799 |
64
+ | XCD | TTD | buy | 2.4277 |
65
+ | XCD | TTD | sell | 2.5775 |
66
+
67
+ Source: [Official rates published by CBTT, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/cbtt/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
68
+ <!-- daily-table:end -->
69
+
36
70
  ## 🔑 Get your API key
37
71
 
38
72
  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": "@allratestoday/cbtt-exchange-rate",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "Official Central Bank of Trinidad and Tobago (Trinidad and Tobago) daily exchange rates — 9 currencies vs TTD, history since 1991. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "cbtt",