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

@msgly/telnyx

v1.4.0

Published

Telnyx SMS adapter for Msgly — global SMS with Ed25519-signed webhooks

Readme

@msgly/telnyx

📖 Docs & channel reference: https://ayushjain070401.github.io/msgly/

Telnyx SMS/MMS adapter for Msgly, with Ed25519 webhook verification.

npm install @msgly/core @msgly/telnyx
import { createHub } from '@msgly/core';
import { createTelnyxAdapter } from '@msgly/telnyx';

const telnyx = createTelnyxAdapter({
  apiKey: process.env.TELNYX_API_KEY!,
  from: '+15550001111',
  messagingProfileId: process.env.TELNYX_PROFILE_ID,
  publicKey: process.env.TELNYX_PUBLIC_KEY!,   // base64, from the portal
});

Ed25519, not HMAC

Telnyx signs webhooks with Ed25519 over "{timestamp}|{rawBody}". That means publicKey is a public key, not a shared secret — leaking it does not let anyone forge requests, unlike an HMAC scheme.

The adapter also enforces a timestamp window (default 5 minutes, webhookToleranceSec) so a captured request can't be replayed forever.

If the runtime's Web Crypto lacks Ed25519, verification fails closed rather than silently accepting unverified webhooks. Node 20+ and modern Edge runtimes support it.

Leaving publicKey unset makes verifySignature return true for everything.

MMS

Telnyx fetches media itself, so pass a public URL. A platform-id reference fails fast with a clear message instead of a confusing API error.

License

MIT