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

@jaxisdev/sdk

v1.0.8

Published

Official Jaxis SDK for Node.js - High performance developer-first APIs for SMS, WhatsApp and Billing.

Readme

@jaxisdev/sdk - Official Node.js SDK

NPM Version TypeScript License

The official Jaxis SDK for Node.js. A modern, "developer-first" library offering ultra-low latency integration with Jaxis services, including SMS Gateway, WhatsApp API, and Billing systems (coming soon).

Built specifically for high-performance applications with automatic JWT negotiation, seamless Axios-powered interceptors, and robust TypeScript support.

🚀 Features

  • Invisible Authentication: Provide your Cognito credentials or API Key, and the SDK automatically manages token fetching, injection, and rotation via interceptors.
  • SMS Gateway SDK: Instant SMS sending with extreme reliability and tracking.
  • WhatsApp API Node: Direct access to our WhatsApp business messaging infrastructure.
  • Billing & Account Flow: (Próximamente) Native integration with Stripe and Jaxis billing modules.
  • Universal compatibility: Shipped as both CJS and ESM.

📦 Installation

npm install @jaxisdev/sdk
# or
yarn add @jaxisdev/sdk
# or
pnpm add @jaxisdev/sdk

⚡ Quick Start

import { Jaxis } from '@jaxisdev/sdk';

// 1. Initialize the SDK
// The SDK will handle the Cognito token negotiation in the background!
const jaxis = new Jaxis({
  auth: {
    username: '[email protected]',
    password: 'super-secret-password',
  },
  // Alternatively, use an API key: 
  // apiKey: 'jx_live_xxxxxx'
});

// 2. Send an SMS
async function sendWelcomeSMS() {
  try {
    const response = await jaxis.sms.send({
      // Can be a single string or an array: ['+1234567', '+9876543']
      to: '+1234567890', 
      text: 'Welcome to Jaxis!',
    });
    console.log('Message subid:', response.subid);
  } catch (error) {
    console.error('Failed to send SMS:', error);
  }
}

// 3. Send a WhatsApp Message
async function sendWhatsAppMessage() {
  // A. Sending an approved Template
  const templateResponse = await jaxis.whatsapp.send({
    to: '+1234567890',
    text: 'Required fallback literal text for DB tracing', // fallback / mandatory
    templateName: 'welcome_template',
    language: 'en_US',
    components: []
  });
  console.log('Template Message ID:', templateResponse.id);

  // B. Sending standard Text
  const textResponse = await jaxis.whatsapp.send({
    to: '+1234567890',
    text: 'Hello! I am testing the normal Wa-Send API'
  });
  console.log('Text Message ID:', textResponse.id);
}

sendWelcomeSMS();

🔧 Compatibility

Node.js v18.0.0 or higher is required.

The library supports both CommonJS (require) and ES Modules (import).

| Environment | Supported | | --- | --- | | Node.js 18.x | ✅ | | Node.js 20.x | ✅ | | Node.js 22.x | ✅ | | Node.js 24.x | ✅ | | TypeScript | ✅ 5.x+ |


🛠️ API Reference

auth

Managed internally. You can also trigger explicit sign-ins using jaxis.auth.signIn().

sms

  • jaxis.sms.send(params): Sends an outgoing SMS message.

whatsapp

  • jaxis.whatsapp.send(params): Sends a generic WhatsApp message. Behaves as text, or as a template if templateName is passed.

📝 License

MIT License. See LICENSE for more details.