npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@liqo/sdk

v1.1.0

Published

Official JavaScript/TypeScript SDK for the Liqo liquidity routing API

Readme

@liqo/sdk

Official JavaScript/TypeScript SDK for Liqo — liquidity routing infrastructure for Web3 apps.

Stop managing token reserves. Make one API call; Liqo routes the conversion through external liquidity providers automatically.

Installation

npm install @liqo/sdk

Quick Start

Get your API key from the Liqo Developer Dashboard.

import { LiqoClient } from '@liqo/sdk';

const liqo = new LiqoClient('liqo_test_your_api_key_here');

// Get a quote
const quote = await liqo.getQuote({
  from: 'USDC',
  to: 'XLM',
  amount: 100,
});
console.log(`You'll receive ~${quote.estimated_output} XLM (fee: ${quote.fee} USDC)`);

// Execute the conversion
const result = await liqo.convert({
  from: 'USDC',
  to: 'XLM',
  amount: 100,
  recipient: 'GXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
});
console.log(`Transaction ${result.transactionId} is ${result.status}`);

Supported Pairs

| From | To | Provider | |---|---|---| | USDC | XLM | Stellar DEX | | XLM | USDC | Stellar DEX | | USDC | ETH | Stellar DEX | | ETH | USDC | Stellar DEX | | NGN | USDC | Transak | | GHS | USDC | Transak | | ZAR | USDC | Transak | | USD | USDC | Transak | | EUR | USDC | Transak | | NGN / GHS / ZAR / USD / EUR | XLM | Transak + Stellar DEX |

API Reference

new LiqoClient(apiKey, options?)

const liqo = new LiqoClient('liqo_test_...', {
  baseUrl: 'https://liqo-platform-production.up.railway.app', // optional override
  timeout: 30000, // ms, default 30s
});

liqo.getQuote({ from, to, amount })

Returns a price quote valid for 60 seconds.

const quote = await liqo.getQuote({ from: 'NGN', to: 'USDC', amount: 10000 });
// {
//   from_asset: 'NGN',
//   to_asset: 'USDC',
//   input_amount: 10000,
//   estimated_output: 6.3,
//   routing_path: ['NGN', 'Transak', 'USDC'],
//   fee: 0.15,
//   expires_at: '2024-01-01T00:01:00Z'
// }

liqo.convert({ from, to, amount, recipient })

Converts an asset and sends it to a recipient wallet.

const result = await liqo.convert({
  from: 'NGN',
  to: 'USDC',
  amount: 10000,
  recipient: '0xWalletAddress...',
});
// {
//   transactionId: 'uuid',
//   status: 'processing',
//   estimated_output: 6.3,
//   fee: 0.15
// }

liqo.payout({ asset, amount, recipient })

Sends an asset to a wallet without conversion.

const result = await liqo.payout({
  asset: 'USDC',
  amount: 50,
  recipient: '0xWalletAddress...',
});

liqo.getTransaction(id)

Polls the status of a transaction.

const tx = await liqo.getTransaction('transaction-uuid');
// {
//   id: 'uuid',
//   status: 'completed', // pending | processing | completed | failed
//   sourceAsset: 'USDC',
//   destinationAsset: 'XLM',
//   amount: 100,
//   estimatedOutput: 1020,
//   actualOutput: 1019.8,
//   fee: 0.35,
//   createdAt: '...',
//   updatedAt: '...'
// }

API Base URL

https://liqo-platform-production.up.railway.app

All endpoints require Authorization: Bearer <API_KEY>.

Links

License

MIT