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

@telnyx/cli

v2.0.0

Published

Command-line interface for Telnyx APIs - manage phone numbers, messaging, voice calls, and more

Readme

Telnyx CLI

CI npm version License: MIT

A powerful command-line interface for the Telnyx API. Manage phone numbers, send messages, make calls, and more — all from your terminal.

Installation

npm install -g @telnyx/cli

Or with yarn:

yarn global add @telnyx/cli

Requirements: Node.js 18 or higher

Quick Start

# Authenticate with your API key
telnyx auth login

# Check your account
telnyx auth whoami

# Search for phone numbers
telnyx number search --country US --locality "San Francisco"

# Send an SMS
telnyx message send --from +15551234567 --to +15559876543 --text "Hello from Telnyx CLI!"

Features

  • Interactive Prompts — Guided workflows when arguments are omitted
  • Multi-Profile Support — Manage multiple API keys (sandbox, production, etc.)
  • Human-Friendly Output — Colored tables, spinners, and clear formatting
  • Flexible Output Formats--json, --output csv, or default tables
  • Verbose Mode — Debug HTTP requests with --verbose
  • Dry-Run Mode — Preview destructive operations before executing

Commands

Authentication

telnyx auth login              # Authenticate with API key
telnyx auth logout             # Clear stored credentials
telnyx auth whoami             # Show current account info

# Multi-profile support
telnyx profile list            # List all profiles
telnyx profile add production  # Add a new profile
telnyx profile use production  # Switch active profile

Phone Numbers

telnyx number search --country US --area-code 415
telnyx number list
telnyx number order +14155551234
telnyx number delete <number_id> --dry-run

Messaging

telnyx message send --from +15551234567 --to +15559876543 --text "Hello!"
telnyx message list --limit 10

Voice Calls

telnyx call dial --from +15551234567 --to +15559876543 --connection <id>
telnyx call list --active
telnyx call hangup <call_control_id>

Additional Commands

| Category | Commands | |----------|----------| | Billing | balance | | Debugger | list, inspect, resend | | Lookup | lookup (carrier, caller-name, portability) | | SIMs | list, show, update | | Fax | send, list, status, cancel | | Verify | send, check, status, list |

Run telnyx --help for the full command list, or telnyx <command> --help for details.

Global Options

| Option | Description | |--------|-------------| | -p, --profile <name> | Use a specific profile | | -v, --verbose | Show HTTP request/response details | | --timeout <seconds> | Request timeout (default: 30) | | --json | Output raw JSON | | -o, --output <format> | Output format: json, table, csv |

Configuration

Credentials are stored securely using your OS keychain:

| OS | Location | |----|----------| | macOS | ~/Library/Preferences/@telnyx/cli | | Linux | ~/.config/@telnyx/cli | | Windows | %APPDATA%/@telnyx/cli |

You can also set TELNYX_API_KEY as an environment variable.

API Reference

This CLI wraps the Telnyx API v2. Get your API key from the Telnyx Portal.

Contributing

Contributions are welcome! Please read our contributing guidelines before submitting a PR.

# Clone the repo
git clone https://github.com/team-telnyx/telnyx-cli.git
cd telnyx-cli

# Install dependencies
npm install

# Run tests
npm test

# Run in development
node bin/telnyx --help

License

MIT © Telnyx