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

fluent-api-sdk

v2.2.1

Published

Borderless Communication API - Enable seamless multilingual conversations in ANY messaging platform

Downloads

3

Readme

FluentAPI - Borderless Communication

Enable seamless multilingual conversations in ANY messaging platform. Break language barriers and connect with anyone, anywhere in the world.

🔐 Secure by Design: This SDK only requires your FluentAPI key. All Google Translate API and Stripe processing happens securely on our servers - no third-party keys needed!

🌍 The Problem We Solve

Imagine you're Mongolian and need mechanic help from Facebook Marketplace. The mechanic speaks Spanish. Without FluentAPI: Communication impossible! With FluentAPI: You type Mongolian, they read Spanish. They type Spanish, you read Mongolian!

⚡ What Makes This Unique

  • 🗣️ Native Language Comfort: Each person types and reads in their own language
  • 🔗 Platform Agnostic: Works with Facebook, WhatsApp, Slack, Discord, ANY messaging platform
  • ⚡ Context Aware: Maintains conversation context for better translations
  • 🚀 Sub-50ms Latency: Lightning-fast translations powered by edge computing
  • 🌍 100+ Languages: Complete coverage of global languages and dialects

🚀 Quick Start

npm install fluent-api-sdk

Basic Usage

const FluentAPI = require('fluent-api-sdk');
const client = new FluentAPI({ 
    apiKey: 'fluent_live_sk_xxxxx',  // Your FluentAPI key (get from https://www.fluentapi.io/pricing.html)
    baseURL: 'https://www.fluentapi.io'  // FluentAPI server
});

// Enable borderless communication
const result = await client.borderless({
    conversationId: 'marketplace_chat_123',
    senderId: 'user_mongolia',
    senderLang: 'mn',
    recipientId: 'mechanic_mexico', 
    recipientLang: 'es',
    message: 'Сайн байна уу, миний машин эвдэрсэн'
});

console.log(result.translated.text); // "Hola, mi coche está averiado"

🔌 Platform Integrations

Facebook Messenger

const { Facebook } = require('fluent-api-sdk');

const fb = new Facebook({ 
  apiKey: 'fluent_live_sk_xxxxx',  // Your FluentAPI key
  pageAccessToken: 'your-fb-page-token',  // Facebook Page token
  verifyToken: 'your-verify-token'  // Facebook webhook verify token
});

// Express middleware
app.use('/webhook', fb.createExpressMiddleware());

WhatsApp Business

const { WhatsApp } = require('fluent-api-sdk');

const whatsapp = new WhatsApp({ 
  apiKey: 'fluent_live_sk_xxxxx',  // Your FluentAPI key
  businessPhoneId: 'your-business-phone-id',  // WhatsApp Business phone ID
  accessToken: 'your-whatsapp-access-token'  // WhatsApp Business API token
});

Slack

const { Slack } = require('fluent-api-sdk');

const slack = new Slack({ 
  apiKey: 'fluent_live_sk_xxxxx',  // Your FluentAPI key
  botToken: 'xoxb-your-bot-token',  // Slack Bot token
  signingSecret: 'your-signing-secret'  // Slack signing secret
});

// Register slash commands
await slack.registerSlashCommands();

Discord

const { Discord } = require('fluent-api-sdk');

const discord = new Discord({ 
  apiKey: 'fluent_live_sk_xxxxx',  // Your FluentAPI key
  botToken: 'your-discord-bot-token',  // Discord Bot token
  applicationId: 'your-application-id'  // Discord Application ID
});

🚀 API Endpoints

Borderless Communication API

POST https://www.fluentapi.io/api/borderless

Request:

{
  "conversationId": "marketplace_123",
  "senderId": "user_mongolia",
  "senderLang": "mn",
  "recipientId": "mechanic_mexico", 
  "recipientLang": "es",
  "message": "Сайн байна уу, миний машин эвдэрсэн"
}

Response:

{
  "success": true,
  "original": {
    "text": "Сайн байна уу, миний машин эвдэрсэн",
    "language": "mn"
  },
  "translated": {
    "text": "Hola, mi coche está averiado",
    "language": "es"
  },
  "integrations": {
    "facebook": { "recipient": { "id": "mechanic_mexico" }, "message": { "text": "Hola, mi coche está averiado" } },
    "whatsapp": { "to": "mechanic_mexico", "type": "text", "text": { "body": "Hola, mi coche está averiado" } },
    "slack": { "channel": "mechanic_mexico", "text": "Hola, mi coche está averiado" }
  }
}

🌟 Real-World Use Cases

  1. Marketplace Communication: Mongolian buyer ↔ Spanish mechanic
  2. International Business: English CEO ↔ Japanese partners
  3. Customer Support: Any language ↔ Support team language
  4. Gaming Communities: Players from different countries
  5. Social Networks: Global friend connections

📞 Get Your FluentAPI Key

Visit https://www.fluentapi.io/pricing.html to get your FluentAPI key.

Important: You need a FluentAPI key (starts with fluent_live_sk_), not Google/Stripe keys. All Google Translate and Stripe processing happens on our secure servers.

🤝 Contributing

We welcome contributions! Please see our GitHub repository for more details.

📄 License

MIT License - see LICENSE file for details.