Socket
Book a DemoInstallSign in
Socket

@bleyt-hq-pay/core-js

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bleyt-hq-pay/core-js

## Core Js

latest
npmnpm
Version
0.0.6
Version published
Maintainers
3
Created
Source

Bleyt

Core Js

Overview

Core js is a library that contains common functionalities required by all other services. Would be published and consumed via NPM.

Features

  • Standardized API HTTP API interface for core services like wallet & message bus.

  • Exchange Rates Functions Tools to fetch, calculate, and manage real-time and historical currency exchange rates.

  • Time & Timezone Conversion Utilities to handle time-related operations, including conversions between different time zones, daylight saving adjustments, and UTC normalization.

  • Money Operations Precision functions for reliable monetary calculations, including currency formatting, rounding rules, and conversion operations.

  • Tax and Fee Calculations (?) Support for applying and calculating regional taxes and gateway fees based on specific region rules.

  • Localization Utilities Tools to handle formatting for currencies, dates, numbers, and other locale-specific data.

  • Regional Compliance Validators Utilities for validating region-specific details such as IBAN, SWIFT codes, postal codes, and tax IDs.

  • Utility Functions Common utilities functions

Supported Platforms

  • Browser
  • Node.js (Javascript/Typescript)

Installation

$ npm i @bleyt-hq-pay/core-js

Usage

import { sample } from '@bleyt-hq-pay/core-js';

...
sample()
...

Development

  • npm start builds to /dist and runs the project in watch mode so any edits you save inside src causes a rebuild to /dist.

  • To do a one-off build, use npm run build or yarn build.

  • To run tests, use npm test or yarn test.

Publish

$ npm run package
$ cd dist
$ npm publish --access public

FAQs

Package last updated on 02 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts