{"_id":"@allratestoday/bnb-exchange-rate","_rev":"11-7fd4f262450d9576026dd56e8221717a","name":"@allratestoday/bnb-exchange-rate","dist-tags":{"latest":"1.3.4"},"versions":{"1.0.2":{"name":"@allratestoday/bnb-exchange-rate","version":"1.0.2","keywords":["bnb","bulgarian","national","bank","exchange-rate","exchange-rates","currency","forex","fx","eur","central-bank","official-rates","bulgaria","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/bnb-exchange-rate@1.0.2","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bnb/","bugs":{"url":"https://github.com/AllRates-Today/bnb-exchange-rate/issues"},"dist":{"shasum":"3b7d465eca26ee741d8c732b2510000b0168ccd9","tarball":"https://registry.npmjs.org/@allratestoday/bnb-exchange-rate/-/bnb-exchange-rate-1.0.2.tgz","fileCount":6,"integrity":"sha512-qWMUhtkoMo7mDsDmoE3ofZQrFdkQ8tbkPzEBM49CkPdMYVv0RvZESPqlO5S0LxN0I32dKKaon+MaRFgdkGzSWw==","signatures":[{"sig":"MEUCIEB/1ooveDhoNQhPVkTJh5VrAZJvVB2r6JIwHSLTkK+/AiEA7QCRBCc2htiSFl3hZ9+3HiC99DOt/WWhX+0c4M4yHfw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10282},"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":"b2c3c9e96ca8da4ad1a1351ee5e2300c2d81ff7d","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/bnb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Bulgarian National Bank (Bulgaria) daily exchange rates — ~29 currencies vs EUR, history since 2016. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bnb-exchange-rate_1.0.2_1786034430011_0.3202239940760845","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@allratestoday/bnb-exchange-rate","version":"1.1.0","keywords":["bnb","bulgarian","national","bank","exchange-rate","exchange-rates","currency","forex","fx","eur","central-bank","official-rates","bulgaria","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/bnb-exchange-rate@1.1.0","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bnb/","bugs":{"url":"https://github.com/AllRates-Today/bnb-exchange-rate/issues"},"dist":{"shasum":"8ce3c02b9785b4828486f33e5cbfc6df45cf683c","tarball":"https://registry.npmjs.org/@allratestoday/bnb-exchange-rate/-/bnb-exchange-rate-1.1.0.tgz","fileCount":6,"integrity":"sha512-bIs1LXpKePAvEQYMZT1uRKzUAk9Il8QrEMaqc4sVzAUY7f55EYoxyWj28wCH9FITn4e+Ioqo6t9IkY0OQ/y2XQ==","signatures":[{"sig":"MEYCIQC12urD/VbT3CzvAqPyUUJ5wtKBGrtsmO+/NhVTMoUGmwIhANsOhtCrg3DY4wIsoUQz5xPFSy3N4A8Z8xFNMrMQ4oTM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10739},"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/bnb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Bulgarian National Bank (Bulgaria) daily exchange rates — 29 currencies vs EUR, history since 2016. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bnb-exchange-rate_1.1.0_1786461028095_0.36440807578436396","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@allratestoday/bnb-exchange-rate","version":"1.1.2","keywords":["bnb","bulgarian","national","bank","exchange-rate","exchange-rates","currency","forex","fx","eur","central-bank","official-rates","bulgaria","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/bnb-exchange-rate@1.1.2","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bnb/","bugs":{"url":"https://github.com/AllRates-Today/bnb-exchange-rate/issues"},"dist":{"shasum":"74e559aca22cce00139dcad521c522601c5519e4","tarball":"https://registry.npmjs.org/@allratestoday/bnb-exchange-rate/-/bnb-exchange-rate-1.1.2.tgz","fileCount":6,"integrity":"sha512-gi80tkqa9S0JBIaKzFqrCZQRyOBb4E4QNinPH5SuCGHlH9fX3vRMX3TKURXK6dxj829V5UzHa5vhOhPpS45YpQ==","signatures":[{"sig":"MEQCIDQI242Vhy9qAIb/8MnERkpvNYh9S1CSVq4/t4HJjGfNAiAe7XOVeIaAQDu3YhM8PWfmhJibcHStY6rPcQwgq/oY3Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10739},"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/bnb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Bulgarian National Bank (Bulgaria) daily exchange rates — 29 currencies vs EUR, history since 2016. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bnb-exchange-rate_1.1.2_1786463282375_0.8220199518194105","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@allratestoday/bnb-exchange-rate","version":"1.2.0","keywords":["bnb","bulgarian","national","bank","exchange-rate","exchange-rates","currency","forex","fx","eur","central-bank","official-rates","bulgaria","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/bnb-exchange-rate@1.2.0","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bnb/","bugs":{"url":"https://github.com/AllRates-Today/bnb-exchange-rate/issues"},"dist":{"shasum":"43e504ecd780f48842c5708752cd150309e0f210","tarball":"https://registry.npmjs.org/@allratestoday/bnb-exchange-rate/-/bnb-exchange-rate-1.2.0.tgz","fileCount":6,"integrity":"sha512-zIS0rtL93bxajYiErjIlfKwI/3THqlKVIaeIixSa/t7SXSddYjmGnVdNAVriE5pdH8HxP1qgVy1tQxv97JNDkA==","signatures":[{"sig":"MEUCIQCNXZqJAO/r/Xa/wjIdzEuCGRQuCMBsmc8BA1vRLhrylwIgGD/Bu8jxdvTuI2X/qyX5HRHxHCSdtrGrlFoUmR96TTE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16639},"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/bnb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Bulgarian National Bank (Bulgaria) daily exchange rates — 29 currencies vs EUR, history since 2016. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bnb-exchange-rate_1.2.0_1786467242664_0.41138112723449627","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@allratestoday/bnb-exchange-rate","version":"1.2.2","keywords":["bnb","bulgarian","national","bank","exchange-rate","exchange-rates","currency","forex","fx","eur","central-bank","official-rates","bulgaria","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/bnb-exchange-rate@1.2.2","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bnb/","bugs":{"url":"https://github.com/AllRates-Today/bnb-exchange-rate/issues"},"dist":{"shasum":"4f0c843de5157ab52cb1da49be5a9929f17c83a6","tarball":"https://registry.npmjs.org/@allratestoday/bnb-exchange-rate/-/bnb-exchange-rate-1.2.2.tgz","fileCount":6,"integrity":"sha512-T/VxkH7fiJ5u7YvpXz0BH1/cW+XQkDxn9TCbDhGpRq5VRjuyU9Y5RKw/vH/dIxzISpsQ01vLhStdICHzHoCAEA==","signatures":[{"sig":"MEQCIAlc30Jz1sMW/86YOxuZwvui9kyOeZmCLwylMpKJUMj7AiBca/hWN43enWb1SDJSPKPkKrQJTVsXydQtCc5dj595BQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17092},"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/bnb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Bulgarian National Bank (Bulgaria) daily exchange rates — 29 currencies vs EUR, history since 2016. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bnb-exchange-rate_1.2.2_1786470249714_0.4242317006824956","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@allratestoday/bnb-exchange-rate","version":"1.2.3","keywords":["bnb","bulgarian","national","bank","exchange-rate","exchange-rates","currency","forex","fx","eur","central-bank","official-rates","bulgaria","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/bnb-exchange-rate@1.2.3","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bnb/","bugs":{"url":"https://github.com/AllRates-Today/bnb-exchange-rate/issues"},"dist":{"shasum":"b581c14bf2fbc4466ed6c4c6c1414e78b749bdb5","tarball":"https://registry.npmjs.org/@allratestoday/bnb-exchange-rate/-/bnb-exchange-rate-1.2.3.tgz","fileCount":6,"integrity":"sha512-5H4BZj+MCAu0mAMcU1tbA88PQtVzIxdabKpYnsKS4WaDOIdKf6CZCFmTKG7JeMV70Z2IxcYMcY1/8BcpmjrKRA==","signatures":[{"sig":"MEQCIEyfTkvCuj6+dK5emtqdkZj6l5bpkoa95E8Vca0A1EW0AiBt0Ot5UiIhDrtjmtGVlzawLjtyWonSHGaYVT3yjEjKvw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17363},"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/bnb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Bulgarian National Bank (Bulgaria) daily exchange rates — 29 currencies vs EUR, history since 2016. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bnb-exchange-rate_1.2.3_1786648470553_0.00027766545488305816","host":"s3://npm-registry-packages-npm-production"}},"1.2.7":{"name":"@allratestoday/bnb-exchange-rate","version":"1.2.7","keywords":["bnb","bulgarian","national","bank","exchange-rate","exchange-rates","currency","forex","fx","eur","central-bank","official-rates","bulgaria","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/bnb-exchange-rate@1.2.7","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bnb/","bugs":{"url":"https://github.com/AllRates-Today/bnb-exchange-rate/issues"},"dist":{"shasum":"1b444fbfbe3b59b4b8639317ea2c764f6e21db80","tarball":"https://registry.npmjs.org/@allratestoday/bnb-exchange-rate/-/bnb-exchange-rate-1.2.7.tgz","fileCount":6,"integrity":"sha512-ahQ1Y2yUoPKo1sQ1XnbDDzLEHEx3NH+K6ZzEPqEF8h5G1nR4oPbfMybtcbR2V+CEpRDRzYYNwxIEscDitUR6gA==","signatures":[{"sig":"MEQCIC7gigz+gODKBv7YIpQKwOqHJO9S4RW9X/Z98RWZg4IJAiBLHOlF5BIPD27lu5PYb/OnogLVB6aIGzkovxQxpDPqCA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17363},"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/bnb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Bulgarian National Bank (Bulgaria) daily exchange rates — 29 currencies vs EUR, history since 2016. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bnb-exchange-rate_1.2.7_1787566908465_0.9080515935917082","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@allratestoday/bnb-exchange-rate","version":"1.3.0","keywords":["bnb","bulgarian","national","bank","exchange-rate","exchange-rates","currency","forex","fx","eur","central-bank","official-rates","bulgaria","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/bnb-exchange-rate@1.3.0","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bnb/","bugs":{"url":"https://github.com/AllRates-Today/bnb-exchange-rate/issues"},"dist":{"shasum":"ab9fbeedb2223f167c2f5dcd4afe910af61f2483","tarball":"https://registry.npmjs.org/@allratestoday/bnb-exchange-rate/-/bnb-exchange-rate-1.3.0.tgz","fileCount":6,"integrity":"sha512-Boy2RPrz1K73L37Oqgq94knDJDcBYK+AIbrYVuWIyKOIWtUIqcf8I80Buu0Zm2AS9c/Q5w0AEDa7Q/qIQcyTmw==","signatures":[{"sig":"MEUCIQDS/2mItA15au9+bmAFOirI8BLwJATpZBQ3GQx1LLXs5wIgWX7KYGQcG7p1kp0hTVOfzsiXq9a2qsiv3iHxCDV94Ko=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIAQTueDGhnOqdn2CMUCBd6+mVOgv8efyIl3o5vI9v8jrAiEAmSKdPKhU8uPPw24LhRWw9DCpUMeIL/cBOr+0zOneLNo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17911},"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/bnb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Bulgarian National Bank (Bulgaria) daily exchange rates — 29 currencies vs EUR, history since 2016. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bnb-exchange-rate_1.3.0_1788976990618_0.933017346132964","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@allratestoday/bnb-exchange-rate","version":"1.3.1","keywords":["bnb","bulgarian","national","bank","exchange-rate","exchange-rates","currency","forex","fx","eur","central-bank","official-rates","bulgaria","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/bnb-exchange-rate@1.3.1","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bnb/","bugs":{"url":"https://github.com/AllRates-Today/bnb-exchange-rate/issues"},"dist":{"shasum":"c8ba8e997a2e97a90edd035dfd5765dcc69f5987","tarball":"https://registry.npmjs.org/@allratestoday/bnb-exchange-rate/-/bnb-exchange-rate-1.3.1.tgz","fileCount":6,"integrity":"sha512-OQVLTDMdgFIVAB/VfDgMJyJM7j1w/xWSNuXuCBBfqo+IhPwApjOAyudW9dL6Yisa6sBBscZML48yAY5ealhxaw==","signatures":[{"sig":"MEQCIAk+c3Gv/mgtLnE4lvHctIfmDRd2tXibXt79zuH6zbINAiBSbACrIcPYEbOvbgbC4Xj+F/D12snf00cqKHh8Lis74w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBXhva0X2i2UlGzoDN1HwLtynqRHe0Ajbp1JDOPI4q01AiEAiNlWpKf7MqhyZgTtpPY1wAOM3FBnLUBvz1PXsJ3QsZ0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21717},"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/bnb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Bulgarian National Bank (Bulgaria) daily exchange rates — 29 currencies vs EUR, history since 2016. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bnb-exchange-rate_1.3.1_1789650152628_0.9144491521361553","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"@allratestoday/bnb-exchange-rate","version":"1.3.3","keywords":["bnb","bulgarian","national","bank","exchange-rate","exchange-rates","currency","forex","fx","eur","central-bank","official-rates","bulgaria","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/bnb-exchange-rate@1.3.3","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bnb/","bugs":{"url":"https://github.com/AllRates-Today/bnb-exchange-rate/issues"},"dist":{"shasum":"4bee557fc1a177c0a9f02ddc0bcee4009a75c182","tarball":"https://registry.npmjs.org/@allratestoday/bnb-exchange-rate/-/bnb-exchange-rate-1.3.3.tgz","fileCount":6,"integrity":"sha512-syBZuyp6tdk1hFb2yBdzwBFPR2OgxirNaiO0SB0dJy7oSTwzrJWijG1U+byh/FBCDpBmCEaYIGeBZGgNjkc13w==","signatures":[{"sig":"MEYCIQC06f/TX3rGLNzBe1FQcza5t1fGjA8VltiADaAz3iHD3QIhAMAKhPOZKLuTITVtrHCRz0YXHkRQjKGCwKlidRfXLZ0X","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIFKK3bay4tJ7+V9Lr1g2nECVVsfO2x7CfC0S5tg/7i0KAiAXDXLJCLYIrANXGDeAk5/zca/ku4bgGbG5XeOxwe3ugw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21714},"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/bnb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Bulgarian National Bank (Bulgaria) daily exchange rates — 29 currencies vs EUR, history since 2016. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bnb-exchange-rate_1.3.3_1790770273294_0.10950448908665389","host":"s3://npm-registry-packages-npm-production"}},"1.3.4":{"_id":"@allratestoday/bnb-exchange-rate@1.3.4","bugs":{"url":"https://github.com/AllRates-Today/bnb-exchange-rate/issues"},"dist":{"shasum":"5834a4f61da1bf2183a6f0038223bb7958d64dc4","tarball":"https://registry.npmjs.org/@allratestoday/bnb-exchange-rate/-/bnb-exchange-rate-1.3.4.tgz","fileCount":6,"integrity":"sha512-ILi1IdG9FW69iJVpzMNhJJOHS57uybzqK8fnxgSqgCu2Jb065F9oHZS8GxS5mpqO/E49LtzB+4wVeeAgXk9w9w==","signatures":[{"sig":"MEUCIQD79+zKxlBsM3iSZHH1yG+/oB5rrIx23b1Cul8WM53adgIgUdCVwYiPjzeJOnV89dmJUGBtebUKBIQKLpF3EnOd+xc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAf2ZESpH35zlxMPvaKECgYNOH8WTfGW3gvaZyb9mMmZAiEA6q6crd+uh5f+v+jfPOrGk0Tiqp8ZalZp6Yr9+c/q0aQ="}],"unpackedSize":22113},"main":"./index.cjs","name":"@allratestoday/bnb-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/bnb/","keywords":["bnb","bulgarian","national","bank","exchange-rate","exchange-rates","currency","forex","fx","eur","central-bank","official-rates","bulgaria","api","typescript"],"repository":{"url":"git+https://github.com/AllRates-Today/bnb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Bulgarian National Bank (Bulgaria) daily exchange rates — 29 currencies vs EUR, history since 2016. 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/bnb-exchange-rate_1.3.4_1790851132381_0.9303138650631593"}}},"time":{"created":"2026-08-06T16:40:29.908Z","modified":"2026-10-01T10:38:52.700Z","1.0.2":"2026-08-06T16:40:30.176Z","1.1.0":"2026-08-11T15:10:28.241Z","1.1.2":"2026-08-11T15:48:02.522Z","1.2.0":"2026-08-11T16:54:02.802Z","1.2.2":"2026-08-11T17:44:09.866Z","1.2.3":"2026-08-13T19:14:30.721Z","1.2.7":"2026-08-24T10:21:48.607Z","1.3.0":"2026-09-09T18:03:10.718Z","1.3.1":"2026-09-17T13:02:32.738Z","1.3.3":"2026-09-30T12:11:13.377Z","1.3.4":"2026-10-01T10:38:52.482Z"},"bugs":{"url":"https://github.com/AllRates-Today/bnb-exchange-rate/issues"},"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","homepage":"https://allratestoday.com/central-bank-rates-api/bnb/","keywords":["bnb","bulgarian","national","bank","exchange-rate","exchange-rates","currency","forex","fx","eur","central-bank","official-rates","bulgaria","api","typescript"],"repository":{"url":"git+https://github.com/AllRates-Today/bnb-exchange-rate.git","type":"git"},"description":"Official Bulgarian National Bank (Bulgaria) daily exchange rates — 29 currencies vs EUR, history since 2016. Zero-dependency Node.js/TypeScript client.","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"readme":"# Bulgarian National Bank Exchange Rates API — bnb-exchange-rate\n\n[![npm version](https://img.shields.io/npm/v/@allratestoday%2Fbnb-exchange-rate.svg)](https://www.npmjs.com/package/@allratestoday/bnb-exchange-rate)\n[![license](https://img.shields.io/npm/l/@allratestoday%2Fbnb-exchange-rate.svg)](https://github.com/AllRates-Today/bnb-exchange-rate/blob/main/LICENSE)\n[![zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](https://www.npmjs.com/package/@allratestoday/bnb-exchange-rate)\n[![TypeScript](https://img.shields.io/badge/TypeScript-types%20included-3178C6.svg)](https://www.typescriptlang.org/)\n\n**Official Bulgarian National Bank (Bulgaria) 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 Bulgarian National Bank itself prints, every business day.**\n\n## 🚀 Why this client?\n\n- 🏛️ **Official published rates** — Bulgarian National Bank's own table, with the publisher's own `rate_date` on every response\n- 📅 **History back to 2016** — 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 Bulgarian National Bank 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 Bulgarian National Bank 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/bnb?source=EUR&target=USD\"\n```\n\n```js\nconst r = await fetch('https://allratestoday.com/api/open/central-bank/bnb').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/bnb-exchange-rate\n```\n\n```bash\nyarn add @allratestoday/bnb-exchange-rate\n```\n\n```bash\npnpm add @allratestoday/bnb-exchange-rate\n```\n\nRequires Node 18+ (global `fetch`); also runs on Bun, Deno and edge runtimes. Scoped mirror of [`bnb-exchange-rate`](https://www.npmjs.com/package/bnb-exchange-rate) — same code, same versions.\n\n## 🏁 Quick start\n\n```js\nimport { getRate } from '@allratestoday/bnb-exchange-rate';\n\nconst pair = await getRate('EUR', 'USD', { apiKey: 'art_live_...' });\nconsole.log(pair.rate, pair.rate_date); // the official Bulgarian National Bank 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('EUR', 'USD', { apiKey: 'art_live_...' });\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'bnb',\n  name: 'Bulgarian National Bank',\n  rate_date: '2026-09-25',   // Bulgarian National Bank's own publication date\n  source: 'EUR',\n  target: 'USD',\n  rate: 1.1403,\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/bnb-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: 'bnb',\n  name: 'Bulgarian National Bank',\n  rate_date: '2026-09-25',\n  rates: [\n    { \"base\": \"EUR\", \"quote\": \"USD\", \"type\": \"reference\", \"value\": 1.1403 },\n    // … the rest of the published table (29 currencies vs EUR)\n  ],\n  disclaimer: '…'\n}\n```\n\n### Table for a date\n\nPaid plans. The official table for any date since 2016 — 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/bnb-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: 'EUR', target: 'USD' });\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'bnb',\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/bnb-exchange-rate';\n\nconst series = await getHistory(\n  { source: 'EUR', target: 'USD', from: '2026-01-01', to: '2026-09-25' },\n  { apiKey: 'art_live_...' }\n);\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'bnb',\n  source: 'EUR',\n  target: 'USD',\n  from: '2026-01-01',\n  to: '2026-09-25',\n  count: 152,\n  rates: [\n    // one entry per publication date\n    { date: '2026-09-25', rate: 1.1403, 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\nBulgarian National Bank currently publishes rates covering **29 currencies** against the EUR (as of the latest table):\n\n🇦🇺 `AUD` · 🇧🇷 `BRL` · 🇨🇦 `CAD` · 🇨🇭 `CHF` · 🇨🇳 `CNY` · 🇨🇿 `CZK` · 🇩🇰 `DKK` · 🇬🇧 `GBP` · 🇭🇰 `HKD` · 🇭🇺 `HUF` · 🇮🇩 `IDR` · 🇮🇱 `ILS` · 🇮🇳 `INR` · 🇮🇸 `ISK` · 🇯🇵 `JPY` · 🇰🇷 `KRW` · 🇲🇽 `MXN` · 🇲🇾 `MYR` · 🇳🇴 `NOK` · 🇳🇿 `NZD` · 🇵🇭 `PHP` · 🇵🇱 `PLN` · 🇷🇴 `RON` · 🇸🇪 `SEK` · 🇸🇬 `SGD` · 🇹🇭 `THB` · 🇹🇷 `TRY` · 🇺🇸 `USD` · 🇿🇦 `ZAR`\n\n## 🏛️ Source\n\nThe Bulgarian National Bank, founded in 1879, is one of the world's oldest central banks. Following Bulgaria's adoption of the euro, it publishes euro-denominated reference rates for around 30 currencies each business day.\n\n- Publisher's own page: [Exchange rates of foreign currencies](https://www.bnb.bg/Statistics/StExternalSector/StExchangeRates/StERForeignCurrencies/index.htm) · [www.bnb.bg](https://www.bnb.bg)\n- Publication: every business day; the exact schedule, freshness status and any current delay are on the [Bulgarian National Bank rates page](https://allratestoday.com/central-bank-rates-api/bnb/)\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- Bulgarian National Bank quotes **foreign currency per 1 EUR** (e.g. `base: \"EUR\", quote: \"USD\"` means USD per one EUR).\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- `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 Bulgarian National Bank 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/bnb/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('bnb')` 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 Bulgarian National Bank 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 EUR 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('EUR', '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 Bulgarian National Bank |\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/bnb-exchange-rate';\n```\n\n## 📦 CommonJS\n\n```javascript\nconst { getRate } = require('@allratestoday/bnb-exchange-rate');\n\ngetRate('EUR', 'USD', { 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 2016 |\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/bnb.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/bnb/latest.json`\n\n## 🔗 Links\n\n- [Bulgarian National Bank rates page](https://allratestoday.com/central-bank-rates-api/bnb/) — 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/bnb-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/bnb-exchange-rate)\n\n## 📜 License\n\nMIT\n","readmeFilename":"README.md"}