{"_id":"@allratestoday/nbu-exchange-rate","_rev":"10-793fab109e6be700bc403b249edccf55","name":"@allratestoday/nbu-exchange-rate","dist-tags":{"latest":"1.3.4"},"versions":{"1.1.0":{"name":"@allratestoday/nbu-exchange-rate","version":"1.1.0","keywords":["nbu","national","bank","of","ukraine","exchange-rate","exchange-rates","currency","forex","fx","uah","central-bank","official-rates","ukraine","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/nbu-exchange-rate@1.1.0","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/nbu/","bugs":{"url":"https://github.com/AllRates-Today/nbu-exchange-rate/issues"},"dist":{"shasum":"e8654958e6bac541604dde9acfccd6e1dd9d4a37","tarball":"https://registry.npmjs.org/@allratestoday/nbu-exchange-rate/-/nbu-exchange-rate-1.1.0.tgz","fileCount":6,"integrity":"sha512-83B1bAKlA1WM9RdCkBlfnneuXTJouhER+IyndASZrhln+JMXcMhq6aeRBvmv0azEXD0ocvoZZ29huRrLK5m7EQ==","signatures":[{"sig":"MEUCIQC1nKmJ+nC5OhEmQE1Drv41XEm8NuScYFINTielRZk2PgIgAXyr2yjSg399hNDV1eejLgOIlx59AyBpxYN3bpKnxA4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10896},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"065d61564d60cc45fa34b5c13460904bc5c2a2f8","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/nbu-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official National Bank of Ukraine (Ukraine) daily exchange rates — 45 currencies vs UAH, history since 1996. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nbu-exchange-rate_1.1.0_1786461124664_0.42456340943930626","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@allratestoday/nbu-exchange-rate","version":"1.1.2","keywords":["nbu","national","bank","of","ukraine","exchange-rate","exchange-rates","currency","forex","fx","uah","central-bank","official-rates","ukraine","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/nbu-exchange-rate@1.1.2","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/nbu/","bugs":{"url":"https://github.com/AllRates-Today/nbu-exchange-rate/issues"},"dist":{"shasum":"708a1b48f4338061ce0ce313f7cae80b711e0ea8","tarball":"https://registry.npmjs.org/@allratestoday/nbu-exchange-rate/-/nbu-exchange-rate-1.1.2.tgz","fileCount":6,"integrity":"sha512-2F6VybEx2D1sSKUtJE/SIJkR0OwpQuNv0wJl74y+XuwzrqUmcnI+JokrqiEkFyJ+f7OpLJ+3hBxc22+Z8j/1Ow==","signatures":[{"sig":"MEUCICo5EFmc0Byucx61DsssKeyEKbRw9I+cdMU94DJ02F8LAiEAgWZjd52omDtbjBZQUCP6HNp9emKwr+4XHwi/uZ/ETYE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10896},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"cdfbc0e1508ee9990148b815c26e0a144e5d3b57","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/nbu-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official National Bank of Ukraine (Ukraine) daily exchange rates — 45 currencies vs UAH, history since 1996. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nbu-exchange-rate_1.1.2_1786463375009_0.5404751651291677","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@allratestoday/nbu-exchange-rate","version":"1.2.0","keywords":["nbu","national","bank","of","ukraine","exchange-rate","exchange-rates","currency","forex","fx","uah","central-bank","official-rates","ukraine","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/nbu-exchange-rate@1.2.0","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/nbu/","bugs":{"url":"https://github.com/AllRates-Today/nbu-exchange-rate/issues"},"dist":{"shasum":"6d722f73160e13d8b2bcc0b093f2a0bf793644d9","tarball":"https://registry.npmjs.org/@allratestoday/nbu-exchange-rate/-/nbu-exchange-rate-1.2.0.tgz","fileCount":6,"integrity":"sha512-loujCt1LGSf/c7moW/x7G8YNZZhB7gigwfwyAu346qmITvNRE133YRVwRAo9kwU31+RYY9Fov+EvLT7zZs4whA==","signatures":[{"sig":"MEUCIDSCBEpkkre8wuu12jh6DmWiu86wsLw0ix63V2hFdn5bAiEAn20IV2TFjXuAKSmhvr0BvoFtWcpTBQ81V6hU0yP0wOY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16809},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"0ef6cd5111bb9e524bf9f257652afa77e17a9109","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/nbu-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official National Bank of Ukraine (Ukraine) daily exchange rates — 45 currencies vs UAH, history since 1996. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nbu-exchange-rate_1.2.0_1786467334042_0.9531393774154637","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@allratestoday/nbu-exchange-rate","version":"1.2.2","keywords":["nbu","national","bank","of","ukraine","exchange-rate","exchange-rates","currency","forex","fx","uah","central-bank","official-rates","ukraine","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/nbu-exchange-rate@1.2.2","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/nbu/","bugs":{"url":"https://github.com/AllRates-Today/nbu-exchange-rate/issues"},"dist":{"shasum":"36c2b3db77fd98948b015b5666941b6e1428f5a7","tarball":"https://registry.npmjs.org/@allratestoday/nbu-exchange-rate/-/nbu-exchange-rate-1.2.2.tgz","fileCount":6,"integrity":"sha512-9sIVLEZt9Y+erqO9m6j8KEyUFO0PyH5Q0+OfaGIYdtuYjx7ahDKV4XqHV3Pee7vUakp8Ofpr6NDdKbMyma3P/A==","signatures":[{"sig":"MEQCIF2mD/JQaiTCYEeOErY8J0mc1nx+bvFcqJDuM01T6DceAiAdeJ9JCFW6KPFgA+frc/66+CtbrvnhLUC6dVvmA0Qf/g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17263},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"e5a956fd87b9d6f36bfb70e8b4a1840285704192","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/nbu-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official National Bank of Ukraine (Ukraine) daily exchange rates — 45 currencies vs UAH, history since 1996. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nbu-exchange-rate_1.2.2_1786470346492_0.728865612493929","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@allratestoday/nbu-exchange-rate","version":"1.2.3","keywords":["nbu","national","bank","of","ukraine","exchange-rate","exchange-rates","currency","forex","fx","uah","central-bank","official-rates","ukraine","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/nbu-exchange-rate@1.2.3","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/nbu/","bugs":{"url":"https://github.com/AllRates-Today/nbu-exchange-rate/issues"},"dist":{"shasum":"f50f5d8451b98cfb3012edb3e16d590f19059dd3","tarball":"https://registry.npmjs.org/@allratestoday/nbu-exchange-rate/-/nbu-exchange-rate-1.2.3.tgz","fileCount":6,"integrity":"sha512-jvOyX4oSw/ArkH18ZHwVrzLFlESGbUWk9e0xSXgEVoLpLC6PfAFR/7LazHkDJCr/Z5GvM4vj8IjvGfFC+lwgeg==","signatures":[{"sig":"MEUCIQCCKzB8WZPYwYvrhLYZU541K8me7PlW85m+Z+rllo87VAIgU8hg9KSYQ1x7G7Lxw/2/T8ko5MyOvpJm1eMHVRzFozE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17630},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"5fa70bd36c9b9b7293480f42c465b9c422aefad2","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/nbu-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official National Bank of Ukraine (Ukraine) daily exchange rates — 45 currencies vs UAH, history since 1996. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nbu-exchange-rate_1.2.3_1786648595109_0.6339582198097984","host":"s3://npm-registry-packages-npm-production"}},"1.2.7":{"name":"@allratestoday/nbu-exchange-rate","version":"1.2.7","keywords":["nbu","national","bank","of","ukraine","exchange-rate","exchange-rates","currency","forex","fx","uah","central-bank","official-rates","ukraine","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/nbu-exchange-rate@1.2.7","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/nbu/","bugs":{"url":"https://github.com/AllRates-Today/nbu-exchange-rate/issues"},"dist":{"shasum":"345a9ea88e1cfe856d22598bb2d28eeb7cc9e90f","tarball":"https://registry.npmjs.org/@allratestoday/nbu-exchange-rate/-/nbu-exchange-rate-1.2.7.tgz","fileCount":6,"integrity":"sha512-qg51FrbUMFZWCwPIPenywnYTiGsYZjabzxcP4bx5xdtj65q6Rn9858yvB1Bl8tFbwVMJuHH5ZnfUPQ1eTFlzWw==","signatures":[{"sig":"MEQCIG3bLcHa14kMy9tMpQoFDzH5zoCgH/9TSJ80KSX5J430AiB+R76OGsgHdu0Zum9Xj0/TPR2h2OvhIlhSUHHK3xWi7A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17630},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"0bdc92d850f026c2ce3ab23033ab006807b0ecfc","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/nbu-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official National Bank of Ukraine (Ukraine) daily exchange rates — 45 currencies vs UAH, history since 1996. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nbu-exchange-rate_1.2.7_1787567091467_0.4742071338701417","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@allratestoday/nbu-exchange-rate","version":"1.3.0","keywords":["nbu","national","bank","of","ukraine","exchange-rate","exchange-rates","currency","forex","fx","uah","central-bank","official-rates","ukraine","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/nbu-exchange-rate@1.3.0","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/nbu/","bugs":{"url":"https://github.com/AllRates-Today/nbu-exchange-rate/issues"},"dist":{"shasum":"95f756f31d8fca53e91b46fbdc9afb7e4ba13e1a","tarball":"https://registry.npmjs.org/@allratestoday/nbu-exchange-rate/-/nbu-exchange-rate-1.3.0.tgz","fileCount":6,"integrity":"sha512-o1Zq3pTw3WLYNhaJyWVA+umsFDJcZz+u7CQAI/bhpL9dlv9lZZmRvCn29INC+d/soc/1L+PqFXzHk0bq1LVAKQ==","signatures":[{"sig":"MEUCIQC50w5jiSDe8eFYxuwZ/WLW5KktCU0dpHMTSnRKg9FgFAIgA09pPsyAzndUbrEMU6c/16ui+z8Ve9I1I/QKv6LOajA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIAQrkNHhiMpS675lsiT0QcVIpzvU8FnBcVcCKxRnuTeAAiEAhl2tVyM2OiZSjVtFqFbsGuaartXpMIS4OgyP5MHn9JQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18178},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"ec4d6bcf08cf485c7ab237f12d27e3d5a0f97e14","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/nbu-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official National Bank of Ukraine (Ukraine) daily exchange rates — 45 currencies vs UAH, history since 1996. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nbu-exchange-rate_1.3.0_1788977334817_0.4388019531696685","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@allratestoday/nbu-exchange-rate","version":"1.3.1","keywords":["nbu","national","bank","of","ukraine","exchange-rate","exchange-rates","currency","forex","fx","uah","central-bank","official-rates","ukraine","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/nbu-exchange-rate@1.3.1","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/nbu/","bugs":{"url":"https://github.com/AllRates-Today/nbu-exchange-rate/issues"},"dist":{"shasum":"43664871cd1912eb5e824c136e0ebb52aaa3afb0","tarball":"https://registry.npmjs.org/@allratestoday/nbu-exchange-rate/-/nbu-exchange-rate-1.3.1.tgz","fileCount":6,"integrity":"sha512-CTJQTJilpTylGsRhaO+giqwH0N0amyMFH4V0d97KnrNVD/2DAFXBjvD7SAPmTB8IGpcZ5FC7nVnaJVBD/0YXug==","signatures":[{"sig":"MEQCIE6o7RlCFegjrOyboSiW4LTy4Fbr8tRlqyVvw/aDvmPLAiAnnPodooC1vSMQLwYWbfQOwlSa1KxzcustgCWZWbWzGw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIC1E61HrkpmMuCa/ddvyksNJ/TtFPa3SRF3M5mPY5I+yAiEA9PK/iceUJ9kZR17zgwbSNDt3inTZOPppkFKwaVZ72LI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22061},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"fc26fa33ba7dd14ed15e95764a0cdb2b1355358f","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/nbu-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official National Bank of Ukraine (Ukraine) daily exchange rates — 45 currencies vs UAH, history since 1996. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nbu-exchange-rate_1.3.1_1789650308338_0.856167840274672","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"@allratestoday/nbu-exchange-rate","version":"1.3.3","keywords":["nbu","national","bank","of","ukraine","exchange-rate","exchange-rates","currency","forex","fx","uah","central-bank","official-rates","ukraine","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/nbu-exchange-rate@1.3.3","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/nbu/","bugs":{"url":"https://github.com/AllRates-Today/nbu-exchange-rate/issues"},"dist":{"shasum":"1cc7f127073ab9af5bbf10c12c06ff49a1460dc3","tarball":"https://registry.npmjs.org/@allratestoday/nbu-exchange-rate/-/nbu-exchange-rate-1.3.3.tgz","fileCount":6,"integrity":"sha512-d6WK91drDNhSGK7jnUjcDiGKgKchhVCPGhkkT0Y6ZajacFLxbdAKA7kUB93rOiUI8PrSoXorCITcWnEvMkbRIw==","signatures":[{"sig":"MEUCIQCGc3q8e3U8PlBOdVXGRpYVI+FDNpbxF3q3cxb8spEfeQIgMiHW9L6wTXqna0CHSRKU33dvq0vkMs0Jyxq0s9oO5iI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIAMBusLTAMrraFGSmANA+4Lr0BXoI/VSlFbasbqcIiDFAiAJgtXUc8tYKkQByzYx7UvCaWZSLbeC5DblUo2LxdHn1A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22058},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"ca0b6b268a0b3c562dedb06b2ec12ac8815a6a05","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/nbu-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official National Bank of Ukraine (Ukraine) daily exchange rates — 45 currencies vs UAH, history since 1996. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nbu-exchange-rate_1.3.3_1790770427200_0.15424272766559644","host":"s3://npm-registry-packages-npm-production"}},"1.3.4":{"_id":"@allratestoday/nbu-exchange-rate@1.3.4","bugs":{"url":"https://github.com/AllRates-Today/nbu-exchange-rate/issues"},"dist":{"shasum":"0eee573c94db5d68e649e0113b0958b3ab3bb591","tarball":"https://registry.npmjs.org/@allratestoday/nbu-exchange-rate/-/nbu-exchange-rate-1.3.4.tgz","fileCount":6,"integrity":"sha512-wlzmBEBw+iS4x4GFzfYsTRJo+ofAi+9sb96TgZkK4kSve29BXTcvwDEHuI75o7sUV8BvFw3eTcgr+QHfD6nm4Q==","signatures":[{"sig":"MEYCIQCAmUtVCxy2a6dDGRbhhXVfFHDElZ4IRDT7r2VeTPJYSgIhAJffmz4N6QfAuPydREMzQpb2G0RXEYIuyvkVHdc+I8qu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICsBYPtVRFbrwoP/dYc4pcieqUIeRocuSJlawXJGXJN/AiEAmMNcLhLMjONLSRubiqgomYoAvZEIT2GYL3dp3dx2xzg="}],"unpackedSize":22457},"main":"./index.cjs","name":"@allratestoday/nbu-exchange-rate","type":"module","types":"./index.d.ts","author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"79b405ca4251d0e8c85b00c9f6c63206e5e3dab3","license":"MIT","version":"1.3.4","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"homepage":"https://allratestoday.com/central-bank-rates-api/nbu/","keywords":["nbu","national","bank","of","ukraine","exchange-rate","exchange-rates","currency","forex","fx","uah","central-bank","official-rates","ukraine","api","typescript"],"repository":{"url":"git+https://github.com/AllRates-Today/nbu-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official National Bank of Ukraine (Ukraine) daily exchange rates — 45 currencies vs UAH, history since 1996. Zero-dependency Node.js/TypeScript client.","directories":{},"maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nbu-exchange-rate_1.3.4_1790851507770_0.021842403334141336"}}},"time":{"created":"2026-08-11T15:12:04.491Z","modified":"2026-10-01T10:45:08.066Z","1.1.0":"2026-08-11T15:12:04.843Z","1.1.2":"2026-08-11T15:49:35.155Z","1.2.0":"2026-08-11T16:55:34.173Z","1.2.2":"2026-08-11T17:45:46.651Z","1.2.3":"2026-08-13T19:16:35.245Z","1.2.7":"2026-08-24T10:24:51.599Z","1.3.0":"2026-09-09T18:08:54.912Z","1.3.1":"2026-09-17T13:05:08.444Z","1.3.3":"2026-09-30T12:13:47.272Z","1.3.4":"2026-10-01T10:45:07.856Z"},"bugs":{"url":"https://github.com/AllRates-Today/nbu-exchange-rate/issues"},"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","homepage":"https://allratestoday.com/central-bank-rates-api/nbu/","keywords":["nbu","national","bank","of","ukraine","exchange-rate","exchange-rates","currency","forex","fx","uah","central-bank","official-rates","ukraine","api","typescript"],"repository":{"url":"git+https://github.com/AllRates-Today/nbu-exchange-rate.git","type":"git"},"description":"Official National Bank of Ukraine (Ukraine) daily exchange rates — 45 currencies vs UAH, history since 1996. Zero-dependency Node.js/TypeScript client.","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"readme":"# National Bank of Ukraine Exchange Rates API — nbu-exchange-rate\n\n[![npm version](https://img.shields.io/npm/v/@allratestoday%2Fnbu-exchange-rate.svg)](https://www.npmjs.com/package/@allratestoday/nbu-exchange-rate)\n[![license](https://img.shields.io/npm/l/@allratestoday%2Fnbu-exchange-rate.svg)](https://github.com/AllRates-Today/nbu-exchange-rate/blob/main/LICENSE)\n[![zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](https://www.npmjs.com/package/@allratestoday/nbu-exchange-rate)\n[![TypeScript](https://img.shields.io/badge/TypeScript-types%20included-3178C6.svg)](https://www.typescriptlang.org/)\n\n**Official National Bank of Ukraine (Ukraine) 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 National Bank of Ukraine itself prints, every business day.**\n\n## 🚀 Why this client?\n\n- 🏛️ **Official published rates** — National Bank of Ukraine's own table, with the publisher's own `rate_date` on every response\n- 📅 **History back to 1996** — point-in-time tables and daily series for any past date\n- 🔀 **Published vs derived, always flagged** — computed inverse/cross pairs carry `derived: true`, never mixed with official prints\n- ⚡ **Zero dependencies** — pure ESM + CJS over global `fetch`; Node 18+, Bun, Deno, and edge runtimes\n- 🔷 **Type-safe** — full TypeScript definitions shipped with the package\n- 🧾 **Compliance-grade metadata** — `rate_type`, publication date, and source disclaimer on every response\n\n> **Official rate, not mid-market:** every value here is a number National Bank of Ukraine itself published, fixed once printed and carrying the central bank's own `rate_date` — what filings and audits require. Need the live mid-market rate for pricing or display instead? Use the [mid-market API](https://allratestoday.com/docs/) or [`@allratestoday/sdk`](https://www.npmjs.com/package/@allratestoday/sdk). The two can diverge by several percent.\n\n## ⚡ Try it without a key\n\nThe latest National Bank of Ukraine table is also served keyless, CORS-open and edge-cached, for evaluation, embeds and AI agents:\n\n```bash\ncurl \"https://allratestoday.com/api/open/central-bank/nbu?source=USD&target=UAH\"\n```\n\n```js\nconst r = await fetch('https://allratestoday.com/api/open/central-bank/nbu').then((x) => x.json());\nconsole.log(r.rate_date, r.rates.length); // the central bank's latest published table, no key\n```\n\nThe 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.\n\n## 🔑 Get your API key\n\nGet a free API key at [allratestoday.com/register](https://allratestoday.com/register) — no credit card required. Latest rates are on every plan, including free.\n\n## 📦 Installation\n\n```bash\nnpm install @allratestoday/nbu-exchange-rate\n```\n\n```bash\nyarn add @allratestoday/nbu-exchange-rate\n```\n\n```bash\npnpm add @allratestoday/nbu-exchange-rate\n```\n\nRequires Node 18+ (global `fetch`); also runs on Bun, Deno and edge runtimes. Scoped mirror of [`nbu-exchange-rate`](https://www.npmjs.com/package/nbu-exchange-rate) — same code, same versions.\n\n## 🏁 Quick start\n\n```js\nimport { getRate } from '@allratestoday/nbu-exchange-rate';\n\nconst pair = await getRate('USD', 'UAH', { apiKey: 'art_live_...' });\nconsole.log(pair.rate, pair.rate_date); // the official National Bank of Ukraine rate, on the central bank's own date\n```\n\n## 📚 API reference\n\n- [Latest pair rate](#latest-pair-rate) — one pair from the latest published table\n- [Full published table](#full-published-table) — everything the central bank printed, in one call\n- [Table for a date](#table-for-a-date) — the official table for an invoice or filing date\n- [Daily time series](#daily-time-series) — one pair across a date range\n\n---\n\n### Latest pair rate\n\nFree plan and up. Pairs the central bank does not print directly are resolved from its table and flagged (see *Published vs derived rates* below).\n\n```js\nconst pair = await getRate('USD', 'UAH', { apiKey: 'art_live_...' });\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'nbu',\n  name: 'National Bank of Ukraine',\n  rate_date: '2026-09-28',   // National Bank of Ukraine's own publication date\n  source: 'USD',\n  target: 'UAH',\n  rate: 44.8414,\n  rate_type: 'reference',\n  derived: false,\n  method: 'published',\n  disclaimer: 'Official rates as published by the named central bank. On weekends/holidays the most recent published rate_date is returned.'\n}\n```\n\n### Full published table\n\nFree plan and up. The complete table for the latest publication date.\n\n```js\nimport { getLatestRates } from '@allratestoday/nbu-exchange-rate';\n\nconst table = await getLatestRates({ apiKey: 'art_live_...' });\nconsole.log(table.rate_date, table.rates.length);\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'nbu',\n  name: 'National Bank of Ukraine',\n  rate_date: '2026-09-28',\n  rates: [\n    { \"base\": \"USD\", \"quote\": \"UAH\", \"type\": \"reference\", \"value\": 44.8414 },\n    // … the rest of the published table (45 currencies vs UAH)\n  ],\n  disclaimer: '…'\n}\n```\n\n### Table for a date\n\nPaid plans. The official table for any date since 1996 — weekends and holidays return the most recent published date, flagged via `published_on_requested_date`, which is exactly the in-force rate a filing needs.\n\n```js\nimport { getRatesForDate } from '@allratestoday/nbu-exchange-rate';\n\nconst day = await getRatesForDate('2026-06-30', { apiKey: 'art_live_...' });\n// Optionally narrow to one pair:\nconst one = await getRatesForDate('2026-06-30', { apiKey: 'art_live_...', source: 'USD', target: 'UAH' });\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'nbu',\n  requested_date: '2026-06-30',\n  rate_date: '2026-06-30',                // the date actually published\n  published_on_requested_date: true,      // false when a weekend/holiday fell back\n  rates: [ /* the full table for that date */ ],\n  disclaimer: '…'\n}\n```\n\n### Daily time series\n\nPaid plans. One resolved rate per publication date — ready for charting, revaluation runs, or audit workpapers.\n\n```js\nimport { getHistory } from '@allratestoday/nbu-exchange-rate';\n\nconst series = await getHistory(\n  { source: 'USD', target: 'UAH', from: '2026-01-01', to: '2026-09-28' },\n  { apiKey: 'art_live_...' }\n);\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'nbu',\n  source: 'USD',\n  target: 'UAH',\n  from: '2026-01-01',\n  to: '2026-09-28',\n  count: 152,\n  rates: [\n    // one entry per publication date\n    { date: '2026-09-28', rate: 44.8414, rate_type: 'reference', derived: false, method: 'published' },\n    // …\n  ],\n  disclaimer: '…'\n}\n```\n\nPass `{ symbol: 'USD' }` instead of `source`/`target` to get the raw published rows for one currency (all rate types, no pair resolution).\n\n---\n\n## 🗺️ Currencies covered\n\nNational Bank of Ukraine currently publishes rates covering **45 currencies** against the UAH (as of the latest table):\n\n🇦🇪 `AED` · 🇦🇺 `AUD` · 🇦🇿 `AZN` · 🇧🇩 `BDT` · 🇨🇦 `CAD` · 🇨🇭 `CHF` · 🇨🇳 `CNY` · 🇨🇿 `CZK` · 🇩🇰 `DKK` · 🇩🇿 `DZD` · 🇪🇬 `EGP` · 🇪🇺 `EUR` · 🇬🇧 `GBP` · 🇬🇪 `GEL` · 🇭🇰 `HKD` · 🇭🇺 `HUF` · 🇮🇩 `IDR` · 🇮🇱 `ILS` · 🇮🇳 `INR` · 🇯🇵 `JPY` · 🇰🇷 `KRW` · 🇰🇿 `KZT` · 🇱🇧 `LBP` · 🇲🇩 `MDL` · 🇲🇽 `MXN` · 🇲🇾 `MYR` · 🇳🇴 `NOK` · 🇳🇿 `NZD` · 🇵🇱 `PLN` · 🇷🇴 `RON` · 🇷🇸 `RSD` · 🇸🇦 `SAR` · 🇸🇪 `SEK` · 🇸🇬 `SGD` · 🇹🇭 `THB` · 🇹🇳 `TND` · 🇹🇷 `TRY` · 🇺🇸 `USD` · 🇻🇳 `VND` · `XAG` · `XAU` · `XDR` · `XPD` · `XPT` · 🇿🇦 `ZAR`\n\n## 🏛️ Source\n\nThe National Bank of Ukraine sets the hryvnia's official exchange rates for around 45 currencies each business day — published in the afternoon for the next working day, and the legally mandated reference for Ukrainian accounting and customs.\n\n- Publisher's own page: [Official hryvnia exchange rates](https://bank.gov.ua/en/markets/exchangerates) · [bank.gov.ua/en](https://bank.gov.ua/en/)\n- Publication: every business day; the exact schedule, freshness status and any current delay are on the [National Bank of Ukraine rates page](https://allratestoday.com/central-bank-rates-api/nbu/)\n- Values are stored unmodified, with the publisher's own `rate_date` on every row — see the [methodology](https://allratestoday.com/official-rates-methodology/)\n\n## 🧭 Reading the numbers\n\n- `value` is always **quote currency per 1 unit of base currency** (`base: \"EUR\", quote: \"USD\", value: 1.15` means 1 EUR = 1.15 USD).\n- National Bank of Ukraine quotes **UAH per 1 unit of foreign currency** (e.g. `base: \"USD\", quote: \"UAH\"` means UAH per one US dollar).\n- Need the other way round? Ask `getRate(target, source)` and the API inverts or crosses for you, flagged `derived: true` — never divide a published rate yourself in a compliance workflow.\n- Precious-metal codes (`XAU`, `XAG`, `XPT`, `XPD`) are quoted **per troy ounce**.\n- `rate_type` tells you which of the central bank's series a row belongs to (`reference` here); some publishers print buy/sell or several fixings for the same pair.\n\n## 🧩 ERP & accounting systems\n\nLoading the official National Bank of Ukraine rate into an accounting system is a supported workflow, not a hack. Step-by-step guides with the direction each system expects:\n\n- [Dynamics 365 Business Central](https://allratestoday.com/docs/integrations/business-central/) — built-in Currency Exchange Rate Service, no code\n- [Xero](https://allratestoday.com/docs/integrations/xero/) · [QuickBooks Online](https://allratestoday.com/docs/integrations/quickbooks/) · [SAP S/4HANA and ECC](https://allratestoday.com/docs/integrations/sap/) · [Odoo](https://allratestoday.com/docs/integrations/odoo/)\n\nThe same keyed endpoints return `?format=csv`, `?format=xml` and `?format=xlsx`, and accept the key as `?api_key=` on the URL for importers that cannot send headers:\n\n```bash\ncurl \"https://allratestoday.com/api/v1/central-bank/nbu/latest?format=xml&api_key=art_live_...\"\n```\n\n## 🤖 AI agents\n\n- MCP server: `npx -y @allratestoday/central-bank-mcp` (stdio) or the hosted endpoint `https://allratestoday.com/api/mcp` — tools for official rates, history, cross-bank comparison and publication calendars\n- Already using the general SDK or MCP server? Since 2026-10-01 [`@allratestoday/sdk`](https://www.npmjs.com/package/@allratestoday/sdk) 1.4+ has `officialRates('nbu')` and [`@allratestoday/mcp-server`](https://www.npmjs.com/package/@allratestoday/mcp-server) 0.6+ has a `get_official_rates` tool — both return this source's latest table with no key, so you can add it without a second dependency\n- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) · [for-ai-agents](https://allratestoday.com/for-ai-agents/)\n\n## ⚖️ Published vs derived rates\n\nIf National Bank of Ukraine does not print a pair directly, the API resolves it from the central bank's own table and says so — official and computed values are never confused:\n\n| `method` | `derived` | Meaning |\n| --- | --- | --- |\n| `published` | `false` | The central bank printed this pair directly |\n| `inverse` | `true` | Computed as 1 ÷ the published opposite direction |\n| `cross` | `true` | Computed via UAH from two published rates |\n\n## 🛡️ Error handling\n\nErrors are thrown as `Error` with `status` (HTTP code) and `body` (the API's JSON error) attached:\n\n```js\ntry {\n  const pair = await getRate('USD', 'XXX', { apiKey: 'art_live_...' });\n} catch (err) {\n  console.log(err.message); // human-readable reason\n  console.log(err.status);  // e.g. 404\n}\n```\n\n| Status | Meaning |\n| ------ | ------- |\n| — | Missing `apiKey` (thrown before any request) |\n| `400` | Malformed date or parameters |\n| `401` | Invalid API key |\n| `403` | Endpoint needs a [paid plan](https://allratestoday.com/pricing/) (historical dates & series) |\n| `404` | Pair or date range not covered by National Bank of Ukraine |\n| `429` | Monthly quota exceeded |\n\n## 🔷 TypeScript\n\nFull definitions ship with the package — no `@types` install:\n\n```ts\nimport type { LatestRates, PairRate, DatedRates, RateEntry, HistoryQuery, RequestOptions } from '@allratestoday/nbu-exchange-rate';\n```\n\n## 📦 CommonJS\n\n```javascript\nconst { getRate } = require('@allratestoday/nbu-exchange-rate');\n\ngetRate('USD', 'UAH', { apiKey: 'art_live_...' }).then((pair) => console.log(pair.rate));\n```\n\n## 💡 Quota tips\n\n- Rates change once per business day — cache the published table locally and a small monthly quota goes a long way.\n- Every request counts toward your AllRatesToday quota, shared across all AllRatesToday endpoints on your key.\n\n## 📖 Methods reference\n\n| Method | Plan | Description |\n| ------ | ---- | ----------- |\n| `getRate(source, target, { apiKey })` | Free | Latest rate for one pair, resolved from the published table |\n| `getLatestRates({ apiKey })` | Free | The central bank's full latest published table |\n| `getRatesForDate(date, { apiKey, source?, target? })` | Paid | The official table (or one pair) for a YYYY-MM-DD date |\n| `getHistory({ symbol \\| source+target, from?, to? }, { apiKey })` | Paid | Daily series since 1996 |\n\n## 📥 Bulk data (no key)\n\nNeed the whole archive rather than an API call? The same published tables are mirrored daily as open data:\n\n- Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) — one CSV per institution (`rates/nbu.csv`)\n- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)\n- CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/nbu/latest.json`\n\n## 🔗 Links\n\n- [National Bank of Ukraine rates page](https://allratestoday.com/central-bank-rates-api/nbu/) — live table, publication cadence, FAQ\n- [All central bank sources](https://allratestoday.com/central-bank-rates-api/)\n- [Package docs on the site](https://allratestoday.com/docs/sdk/nbu-exchange-rate/) · [ERP integration guides](https://allratestoday.com/docs/integrations/)\n- [API documentation](https://allratestoday.com/docs/#central-bank) · [Interactive reference](https://allratestoday.com/api-reference/) · [Methodology](https://allratestoday.com/official-rates-methodology/)\n- [Register (free)](https://allratestoday.com/register) · [Pricing](https://allratestoday.com/pricing/)\n- [GitHub](https://github.com/AllRates-Today/nbu-exchange-rate)\n\n## 📜 License\n\nMIT\n","readmeFilename":"README.md"}