{"_id":"@bleyt-hq-pay/core-js","_rev":"9-89806626d9754ba9dccbe74292726070","name":"@bleyt-hq-pay/core-js","dist-tags":{"latest":"0.0.6"},"versions":{"0.0.0":{"name":"@bleyt-hq-pay/core-js","version":"0.0.0","_id":"@bleyt-hq-pay/core-js@0.0.0","maintainers":[{"name":"bleyt-hq-pay-user","email":"isaiah@bleyt.com"}],"dist":{"shasum":"aeb4023434ac32acf341e2aa6bf2af4c6832a108","tarball":"https://registry.npmjs.org/@bleyt-hq-pay/core-js/-/core-js-0.0.0.tgz","fileCount":12,"integrity":"sha512-L9q8untr5Mn/j9X0dFub0iiXnY1X4UDI16U0mUfUW+CDWDrAjnKlRJNKr+lTOHMK9EnpTNqAUkagkOrzJEn6Tg==","signatures":[{"sig":"MEUCIQCsq4Ihh9mi4nk0QRnDQ0dX6Iq/wSjMQYxZTLW7AjePzgIgHtAu76sPl+7rLd1iRMlHUtvEWkRUmWUYsbIAZ2kFGIU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64692},"exports":{".":{"default":"./index.js"}},"gitHead":"b222dad3cf75e6f43269a164f365ff055d97d15f","typings":"index.d.ts","_npmUser":{"name":"bleyt-hq-pay-user","email":"isaiah@bleyt.com"},"_npmVersion":"9.5.0","description":"## Core Js","directories":{},"sideEffects":false,"_nodeVersion":"18.14.2","dependencies":{"axios":"^1.6.8"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/core-js_0.0.0_1732088599407_0.7232331969968031","host":"s3://npm-registry-packages"}},"0.0.1":{"name":"@bleyt-hq-pay/core-js","version":"0.0.1","_id":"@bleyt-hq-pay/core-js@0.0.1","maintainers":[{"name":"bleyt-hq-pay-user","email":"isaiah@bleyt.com"}],"dist":{"shasum":"2e41d8382c4e3d402c0f8cac6adc3d1bcc15424f","tarball":"https://registry.npmjs.org/@bleyt-hq-pay/core-js/-/core-js-0.0.1.tgz","fileCount":18,"integrity":"sha512-B4k2IG8uannX2sWy0hkNSXP6K1vZKGRvLxmf71Bxy2guhD89sbkR+4zkLsd5C7TiiR9+KidBcxAmgT2qFmMqOg==","signatures":[{"sig":"MEQCIC4AlawTXjbiaVssnkALZ4ldem+tFE1vJ3sOZZnY4FSAAiAWvWkuRVESo+6BNFixJ0E/CrO3ydFIuIHFAjL74R2sEg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79266},"exports":{".":{"default":"./index.js"}},"gitHead":"8bd1ab242e85a370a706886eac8cf5f8c6788a8b","typings":"index.d.ts","_npmUser":{"name":"bleyt-hq-pay-user","email":"isaiah@bleyt.com"},"_npmVersion":"10.8.2","description":"## Core Js","directories":{},"sideEffects":false,"_nodeVersion":"20.18.1","dependencies":{"axios":"^1.6.8"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/core-js_0.0.1_1734437128482_0.5966907698268045","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@bleyt-hq-pay/core-js","version":"0.0.2","_id":"@bleyt-hq-pay/core-js@0.0.2","maintainers":[{"name":"bleyt-hq-pay-user","email":"isaiah@bleyt.com"},{"name":"isaiahiroko","email":"isaiahiroko@gmail.com"}],"dist":{"shasum":"13416efa04534d836fc7cfb516737bf360243e6a","tarball":"https://registry.npmjs.org/@bleyt-hq-pay/core-js/-/core-js-0.0.2.tgz","fileCount":24,"integrity":"sha512-M6lWrtMZITXPHeDz6K29DD+hb65qoWNvo/lTEhzuInJ0EMqbnThO+Eve6HZ8kq3It42FYIM33KEZ7jopg8T37A==","signatures":[{"sig":"MEYCIQC5gp7VuyFIN+s/zfHaGryx/Yg7cNk6AftDM4i+vmlrjwIhALOgAOpfPDfuEsCT5YfbfDqNBK1q5nXypqEGMUHqZAUK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":115259},"exports":{".":{"default":"./index.js"}},"gitHead":"d407db4579ddb81d0c221c2ff80025c7fc20e308","typings":"index.d.ts","_npmUser":{"name":"isaiahiroko","email":"isaiahiroko@gmail.com"},"_npmVersion":"10.8.2","description":"## Core Js","directories":{},"sideEffects":false,"_nodeVersion":"20.18.1","dependencies":{"axios":"^1.6.8"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/core-js_0.0.2_1740210525455_0.10251075513161978","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@bleyt-hq-pay/core-js","version":"0.0.3","_id":"@bleyt-hq-pay/core-js@0.0.3","maintainers":[{"name":"bleyt-hq-pay-user","email":"isaiah@bleyt.com"},{"name":"isaiahiroko","email":"isaiahiroko@gmail.com"},{"name":"emma-bleyt","email":"emmanuel@bleyt.com"}],"dist":{"shasum":"85118fcf0d61ae38dd90c0f202c26f13e85420a9","tarball":"https://registry.npmjs.org/@bleyt-hq-pay/core-js/-/core-js-0.0.3.tgz","fileCount":27,"integrity":"sha512-CLiWuKeh0zAddVrzn+7+tueWowO+8tZKc1WWN32TDFkNY7E5WWKw6rxmbatbvQDllal+ed2NiB4AW2x5E2e0GQ==","signatures":[{"sig":"MEQCIFZDVaKtW0CTul6a5ukJMkc6/0AcuEik5ZTnzmoeGTFzAiAV1XBkQVdG4x6C3t06q1Acm0jaT+8lUe6n13VooohSVw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":117365},"exports":{".":{"default":"./index.js"}},"gitHead":"0d32c5fc94adf647d220aee1dbe08889601c4be6","typings":"index.d.ts","_npmUser":{"name":"emma-bleyt","email":"emmanuel@bleyt.com"},"_npmVersion":"10.8.1","description":"## Core Js","directories":{},"sideEffects":false,"_nodeVersion":"20.16.0","dependencies":{"axios":"^1.6.8"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/core-js_0.0.3_1747846927914_0.5435985256054443","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@bleyt-hq-pay/core-js","version":"0.0.4","_id":"@bleyt-hq-pay/core-js@0.0.4","maintainers":[{"name":"bleyt-hq-pay-user","email":"isaiah@bleyt.com"},{"name":"isaiahiroko","email":"isaiahiroko@gmail.com"},{"name":"emma-bleyt","email":"emmanuel@bleyt.com"}],"dist":{"shasum":"38f4ff7c7542888deb342b01285e3ad8d6eec7a2","tarball":"https://registry.npmjs.org/@bleyt-hq-pay/core-js/-/core-js-0.0.4.tgz","fileCount":29,"integrity":"sha512-1ALAAVDRdOSOoG8Ed6SMvkGOXuLfbo0WJiy7yS+stJMBQoSXQXdSdVjY2lvvvocybBoBE6p2YJIBtloA4yo2iQ==","signatures":[{"sig":"MEYCIQCHOMlbRConogMy2fs25+rDbluhDGSoF0q8gSZ1YT4pDAIhAJVPn9pct692YuOq+lcJwT0ibT+ZvulxniuuytqGenxw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":127867},"exports":{".":{"default":"./index.js"}},"gitHead":"e2e682858e0ca423a2878c6a0d356d2a6590ccb1","typings":"index.d.ts","_npmUser":{"name":"isaiahiroko","email":"isaiahiroko@gmail.com"},"_npmVersion":"10.8.2","description":"## Core Js","directories":{},"sideEffects":false,"_nodeVersion":"20.18.1","dependencies":{"axios":"^1.6.8"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/core-js_0.0.4_1748011485874_0.059639813544460685","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@bleyt-hq-pay/core-js","version":"0.0.5","_id":"@bleyt-hq-pay/core-js@0.0.5","maintainers":[{"name":"bleyt-hq-pay-user","email":"isaiah@bleyt.com"},{"name":"isaiahiroko","email":"isaiahiroko@gmail.com"},{"name":"emma-bleyt","email":"emmanuel@bleyt.com"}],"dist":{"shasum":"c1457ac5caee405bbde3dc88553d43ff853ce35f","tarball":"https://registry.npmjs.org/@bleyt-hq-pay/core-js/-/core-js-0.0.5.tgz","fileCount":29,"integrity":"sha512-13EoykErRSJarZajxAoir1YD62XxSy2EErRCtKwQwreOmzmuI5nz0cTXrtnWbj0lOAuLLw5ku4oNbHdj8M2uFw==","signatures":[{"sig":"MEQCIDmHQch8URhqFXhurZeohAAvgH54IRCz6Y7JsmAqZCy/AiBdw5w+lVz9vykgmK8gB1+3AyMD1P4/NgKlafXHHs7gCA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":127867},"exports":{".":{"default":"./index.js"}},"gitHead":"e2e682858e0ca423a2878c6a0d356d2a6590ccb1","typings":"index.d.ts","_npmUser":{"name":"isaiahiroko","email":"isaiahiroko@gmail.com"},"_npmVersion":"10.8.2","description":"## Core Js","directories":{},"sideEffects":false,"_nodeVersion":"20.18.1","dependencies":{"axios":"^1.6.8"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/core-js_0.0.5_1748019042782_0.38325384902256854","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@bleyt-hq-pay/core-js","version":"0.0.6","dependencies":{"axios":"^1.6.8"},"sideEffects":false,"typings":"index.d.ts","exports":{".":{"default":"./index.js"}},"_id":"@bleyt-hq-pay/core-js@0.0.6","gitHead":"3b37c26ce4cbea8977edb2defab43d3362784bcc","description":"## Core Js","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ypmSzvsmr6b07WNkN1XLALcMQcEp2PCHzcSo/E8NgDakwh/x4gJiZGs9wL5jfd+M8vV0Br1EqdUaV6W1XcaENg==","shasum":"64a77aa2581da623bc118950339f36b884b97633","tarball":"https://registry.npmjs.org/@bleyt-hq-pay/core-js/-/core-js-0.0.6.tgz","fileCount":29,"unpackedSize":127862,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAEjSLLBLovQGf8kNtRLzqgP6u4H62bxHdj92v6Su4dgAiEAvpQTYcUZECX0otbyGgsI7hZoiWupsQXftejn4wfHW4I="}]},"_npmUser":{"name":"isaiahiroko","email":"isaiahiroko@gmail.com"},"directories":{},"maintainers":[{"name":"bleyt-hq-pay-user","email":"isaiah@bleyt.com"},{"name":"isaiahiroko","email":"isaiahiroko@gmail.com"},{"name":"emma-bleyt","email":"emmanuel@bleyt.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core-js_0.0.6_1748856611142_0.03179518182824781"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-20T07:43:19.316Z","modified":"2025-06-02T09:30:11.487Z","0.0.0":"2024-11-20T07:43:19.586Z","0.0.1":"2024-12-17T12:05:28.664Z","0.0.2":"2025-02-22T07:48:45.692Z","0.0.3":"2025-05-21T17:02:08.111Z","0.0.4":"2025-05-23T14:44:46.063Z","0.0.5":"2025-05-23T16:50:42.962Z","0.0.6":"2025-06-02T09:30:11.304Z"},"description":"## Core Js","maintainers":[{"name":"bleyt-hq-pay-user","email":"isaiah@bleyt.com"},{"name":"isaiahiroko","email":"isaiahiroko@gmail.com"},{"name":"emma-bleyt","email":"emmanuel@bleyt.com"}],"readme":"# Bleyt\n\n## Core Js\n\n### Overview\nCore js is a library that contains common functionalities required by all other services. Would be published and consumed via NPM.\n\n### Features\n1. Standardized API \nHTTP API interface for core services like wallet & message bus.\n\n2. Exchange Rates Functions\nTools to fetch, calculate, and manage real-time and historical currency exchange rates.\n\n3. Time & Timezone Conversion \nUtilities to handle time-related operations, including conversions between different time zones, daylight saving adjustments, and UTC normalization.\n\n4. Money Operations \nPrecision functions for reliable monetary calculations, including currency formatting, rounding rules, and conversion operations.\n\n5. Tax and Fee Calculations (?)\nSupport for applying and calculating regional taxes and gateway fees based on specific region rules.\n\n6. Localization Utilities \nTools to handle formatting for currencies, dates, numbers, and other locale-specific data.\n\n7. Regional Compliance Validators \nUtilities for validating region-specific details such as IBAN, SWIFT codes, postal codes, and tax IDs.\n\n8. Utility Functions\nCommon utilities functions\n\n\n### Supported Platforms\n\n- Browser\n- Node.js (Javascript/Typescript)\n\n### Installation\n```bash\n$ npm i @bleyt-hq-pay/core-js\n```\n\n### Usage\n```ts\nimport { sample } from '@bleyt-hq-pay/core-js';\n\n...\nsample()\n...\n\n```\n\n### Development\n1. `npm start` builds to `/dist` and runs the project in watch mode so any edits you save inside `src` causes a rebuild to `/dist`.\n\n2. To do a one-off build, use `npm run build` or `yarn build`.\n\n3. To run tests, use `npm test` or `yarn test`.\n\n### Publish\n```bash\n$ npm run package\n$ cd dist\n$ npm publish --access public\n```","readmeFilename":"README.md"}