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

@inworld/cli

v1.4.0

Published

Inworld CLI: auth, workspace, TTS, and MCP server entry point.

Readme

Inworld CLI

The inworld command-line interface: authentication, workspaces, TTS, and the inworld mcp server entry point.

Installation

Global Installation (Recommended)

npm install -g @inworld/cli

After installation, you can use the CLI from anywhere in your system:

inworld --help

Audiobook performance

audiobook generate --concurrency N runs at most N chapter sessions (CLI limit 20, not an account quota). Check your account's effective quota and other TTS traffic before increasing it. Chapters start longest-first but retain their original output order; segments within a chapter share one sequential context. Retries restart the whole chapter and can repeat paid synthesis. Completed chapter MP3s are published atomically so failed encoding cannot create a resumable partial file.

PCM is written after each segment rather than held for the whole chapter. A segment is capped at 32 MiB of decoded audio (concatenation can temporarily double that buffer), with an 8 MiB WebSocket frame limit. Connections/context creation time out after 30 seconds, synthesis after 120 seconds without audio or 10 minutes total per segment. A failed session is terminated before retry; voice/model, segment size, encoding and chapter-context semantics are unchanged.

When launched as a Node child with IPC, the CLI emits best-effort audiobook-diagnostic version 1 events: fixed phase/outcome/error categories and numeric duration, chapter/segment index, attempt and audio bytes. No book text, credentials or server message is included. Diagnostics drop under IPC backlog (at most 32 pending); they never block or fail a render. Normal CLI invocation needs no IPC. A consumer must whitelist fields before logging them.

Offline verification (no credentials or paid synthesis):

npm run build
npm test -w @inworld/cli -- tests/commands/audiobook tests/services/tts_websocket.test.ts

The generation tests use a fake TTS session and encoder, including 13 chapters at concurrency 8. They verify scheduling, original assembly order, bounded concurrency and failed-output cleanup, not production throughput or audio quality.