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

vxasr

v0.4.0

Published

ASR client for vxbeamer, a self-hosted personal speech transcriber with real-time web interface.

Readme

vxasr

ASR client for vxbeamer, a self-hosted personal speech transcriber.

Wraps several speech-recognition vendors behind one streaming interface, so they can be swapped and compared without the calling code knowing which is which.

Concepts

ASRProvider — a vendor+model behind a streaming session: createSession(callbacks) returns something you feed sendAudio(chunk) and then finish(). Callbacks report onPartial / onFinal / onUsage / onEnd / onError.

Model configuration — a provider, a model, and its post-processing chain. This, not the provider, is the unit you select and compare: qwen/qwen3-asr-flash-realtime and qwen/qwen3-asr-flash-realtime+groq are two different things to evaluate, and they compete on equal terms.

Audio format — 16 kHz, 16-bit signed little-endian, mono. 32000 bytes per second. This is what the browser's AudioWorklet captures, so nothing needs resampling anywhere in the pipeline.

The vxasr CLI

Runs one configuration against an audio file — no server, no browser, no microphone. This is the fastest way to check that a newly wired adapter actually works.

# What can I run, and do I have the credentials?
vxasr --list

# Transcribe a file (credentials come from the environment)
node --env-file=.env vxasr qwen/qwen3-asr-flash-realtime testdata/test-audio.bin
qwen/qwen3-asr-flash-realtime — 9.22s of audio (raw), realtime
project นี้เขียนด้วยภาษา TypeScript ใช้ framework ชื่อ Elysia โดย deploy ไปที่ Railway…

84 partials in 9.46s
  dashscope:qwen3-asr-flash:seconds: 10 × $0.000035 = $0.000350
  total: $0.000350

Accepts a WAV or headerless raw PCM. WAV is detected by content rather than file extension, and its header is stripped — but the audio inside must already be 16 kHz/16-bit/mono, since resampling it here would mean testing something other than what the app sends:

ffmpeg -i input.mp3 -ar 16000 -ac 1 -c:a pcm_s16le output.wav

The transcript goes to stdout and diagnostics to stderr, so it pipes cleanly. Exits non-zero when the configuration is unknown, lacks credentials, or errors.

Replay audio at realtime

The CLI paces audio at 100 ms per chunk by default, as a live recording would. --fast is a probe, not an optimisation. Feeding audio faster than realtime does not reproduce live behaviour: BytePlus hangs outright and never returns a result, and vendors document a 100–200 ms send interval. Billing is per audio-second rather than per connection-second, so realtime pacing costs nothing extra.

A note on comparing models

These models are LLMs with audio intake, so they are not deterministic — the same audio can transcribe differently across runs. A single run is one sample, not a measurement. Judge a model over many recordings rather than one.

Development

vp install    # install dependencies
vp test       # run the unit tests
vp check      # format, lint, type check
vp pack       # build the library and CLI

Unit tests use the mock provider and never make network calls, so they need no credentials and cost nothing.