
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@galoymoney/client
Advanced tools
JavaScript client library for the Galoy stack. This is used in front-end applications like the web and mobile wallets.
JavaScript client library for the Galoy stack. This is used in front-end applications like the web and mobile wallets.
Install the package with:
yarn add @galoymoney/client
import { parsePaymentDestination } from "@galoymoney/client"
const { valid, paymentType, amount } = parsePaymentDestination({
destination: "username or invoice or bitcoin address",
network: "mainnet", // or testnet or regtest
pubKey: "nodePubKey",
})
Test with Jest framework:
yarn test
Build production (distribution) files in dist folder:
yarn build
Run:
yarn link
and in your test project run:
yarn link @galoymoney/client
If you want to remove the symlink, run:
# in your test project
yarn unlink @galoymoney/client
# in galoymoney/client folder
yarn unlink
Run:
# in galoymoney/client folder
yalc publish
in your test project run:
yalc add @galoymoney/client
If you want to remove the symlink, run:
# in your test project
yalc remove @galoymoney/client
to update changes, you have to run yalc publish
before run:
# in your test project
yalc update
FAQs
JavaScript client library for the Galoy stack. This is used in front-end applications like the web and mobile wallets.
The npm package @galoymoney/client receives a total of 21 weekly downloads. As such, @galoymoney/client popularity was classified as not popular.
We found that @galoymoney/client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.