Elestia Open Source Ratings
7.5

wavesurfer.js

A strong pick. 4th of 11 video and audio players.

wavesurfer.js is a TypeScript audio player that draws an interactive waveform and has no dependencies. Plugins add regions, timelines, spectrograms, recording and minimaps. It is the standard pick when you need to show a waveform, and it is actively maintained. It is not a general video player.

Best for: Apps that need an interactive audio waveform: podcast and music players, audio editors, transcription or labeling tools, and voice recorders.

WebsiteGitHubnpm

Scores

Overall7.5

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

It is the clear best pick for its niche, interactive audio waveforms, and it is actively maintained, safe and light. It does not replace Video.js, Plyr or hls.js for general video or streaming playback, which keeps it below the category defaults. The recent v8 breaking changes and reliance on one lead maintainer are the main risks.

GPT-6.2 Sol: 8.0, likely 6.9 to 9.0

wavesurfer.js is a strong first choice when an interactive waveform is central to browser audio playback. Stable v8 has a capable plugin set, active maintenance, and documented use in shipped products. Video.js is the better fit for general video playback and adaptive streaming. The range reflects how much long recordings, browser decoding, and the still-short v8 track record can matter to a new project.

Needed by many3.4

How many developers need a tool for this job?

Claude Opus 5.5: 3.0, likely 2.0 to 4.0

Few web projects need to show an audio waveform. The use cases are podcast and music sites, audio editors, and ML or labeling tools. It does not cover video, which is a big part of this category. That makes it a clear niche within audio and video players.

GPT-6.2 Sol: 3.8, likely 2.6 to 4.9

Interactive waveforms solve a specific problem for transcription, audio review, annotation, and music apps. The framework-independent API makes it usable across browser projects, while the waveform focus limits its appeal across the broader player category. Available web usage data measures media APIs and leaves demand for interactive waveforms uncertain.

Helps a lot8.2

How well does it do the job for those who need it?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

For waveform playback it is the most complete option. It has a rich set of official plugins, built-in types, and active work on performance and correctness, such as the Regions, Renderer and Timeline speed-ups in 8.0.3. Its limits are memory use when decoding long files in the browser and a known VBR MP3 sync problem. BBC peaks.js is stronger for zoomable editing of very long files with peaks computed in advance.

GPT-6.2 Sol: 8.4, likely 7.3 to 9.3

Version 8.1.0 combines responsive waveform playback with plugins for editable regions, spectrograms, and recording. Typed events, explicit error handling, and runnable examples help developers and coding agents, though a few examples still reference v7. A contributor measured faster scrolling with many regions in Chromium, while an app developer reported that decoding many tracks caused lag and used precomputed peaks. Browser decoding remains a practical limit for long recordings, and the benchmark did not measure decoding.

Holds up over time7.3

Will it still be a good choice in two years?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

The project dates from 2012 and is still very active: 145 commits, 24 releases and only 8 open issues. It carefully backports fixes to 7.x. The v8 rewrite broke several APIs, and v9 will remove class-based plugins, so expect migration work. Releases depend largely on one lead maintainer, which caps the score.

GPT-6.2 Sol: 7.6, likely 6.4 to 8.6

The repository logged 145 commits and 24 releases over the last year, with work from several contributors and a named sponsor. One spectrogram report took 12 days to close, while a recording-device fix took several months. The v8 migration changed load cancellation and deep imports, and the number of people who can publish releases is unclear.

Used widely4.8

How many use it, and is that growing?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Downloads rose to 7.9M every 4 weeks, a ratio of 4.7. That is a little above the 4.1 median, so it is gaining ground slightly. Much of that volume comes in through Gradio and other tools that install it, rather than direct choices. Its 1317 dependent repos sit well below Video.js, howler.js and Plyr, which points to tens of thousands of direct users.

GPT-6.2 Sol: 4.5, likely 3.3 to 5.6

Four-week npm downloads rose from 1.68 million to 7.89 million, or 4.69× year over year, ahead of the catalog median of 4.1×. Ecosyste.ms found 1,317 dependent repositories and 177 dependent packages, with far fewer tracked repositories than Video.js or howler.js. Around 10,500 stars show visibility, while three Bluesky posts and zero matched Hacker News stories show little recent discussion in those channels. Repeat installs and CDN use leave the number of projects choosing it uncertain.

  • npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: 4.69× year-over-year growth against a 4.1× baseline
  • dependents, peers: 1,317 tracked repositories versus 9,270 for Video.js and 10,498 for howler.js
  • github.stars, bluesky.posts, hackerNews.stories: 10,481 stars, three Bluesky posts, and zero matched Hacker News stories
  • wavesurfer.xyz: Quick start uses a CDN script outside npm installs
Vouched for6.3

Who stands behind it being good?

Claude Opus 5.5: 6.0, likely 4.0 to 7.0

Gradio from Hugging Face builds its audio component on it, and many annotation and audio tools embed it. No developer survey covers waveform libraries, and I found no independent benchmarks. The validation is real but comes mostly from adoption by other tools, not from formal reviews.

GPT-6.2 Sol: 6.5, likely 5.2 to 7.7

Closed Caption Creator uses the Record plugin in its voice recorder, and the HTML5 Audio Player plugin for WordPress ships a wavesurfer.js waveform skin. A transcription editor also chose it after comparing it with Peaks.js. These examples support its specialist use, while direct satisfaction data and independent testing of the current stable release are limited.

Safe7.6

How safe is it to depend on?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

It has zero dependencies, no advisories ever, and a permissive BSD-3-Clause licence. The Scorecard is a middling 5.7: token permissions, pinned dependencies, security policy and fuzzing all score 0. Release publishing rests on few people.

  • npm dependencies: 0 runtime dependencies.
  • advisories total: 0 OSV advisories.
  • scorecard: Score 5.7, with weak token-permission, pinning and security-policy checks.

GPT-6.2 Sol: 7.1, likely 5.9 to 8.2

The package has zero runtime dependencies, a permissive BSD-3-Clause license, and no recorded OSV advisories. GitHub Actions runs lint, type checks, unit tests, and leak tests before publishing to npm with a stored token. The 5.7 OpenSSF Scorecard flags token permissions, unpinned dependencies, and the security policy, and the size of the publisher group remains unclear.

  • npm.dependencies, npm.license, advisories.total: Zero runtime dependencies, BSD-3-Clause, and zero recorded OSV advisories
  • scorecard: 5.7 overall, with zero scores for token permissions, dependency pinning, and security policy
  • github.com/katspaugh/wavesurfer.js/blob/8.1.0/.github/workflows/release.yml: Automated npm publishing uses a stored token and runs checks before release

Good

  • It has zero runtime dependencies and ships its own TypeScript types.
  • Official plugins cover regions, timeline, spectrogram, minimap, envelope, hover and microphone recording.
  • It is very active: about 24 releases in the last year and only 8 open issues.
  • Large tools such as Gradio's audio component build on it, so it gets heavy real-world use.

Bad

  • It only plays audio with a waveform. It has no streaming formats such as HLS or DASH, and no full video player UI.
  • v8 brought breaking changes: destroy() is final, superseded loads reject with AbortError, and deep imports need .js. v9 is planned to remove class-based plugins.
  • Long files decode in the browser, which uses a lot of memory. Large files need peaks computed in advance.
  • Releases depend mostly on one long-time lead maintainer, and the Scorecard's checks for token permissions, pinned dependencies and a security policy are weak.

The numbers

npm downloads, 4 weeks
7.9M ×4.7 in a year
GitHub stars
10k
Commits, 12 months
145
npm version
8.1.0 Nov 2026
Versions, 12 months
20
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
5.7 out of 10, Nov 2026
Licence
BSD-3-Clause

Read on 21 November 2026 from GitHub (katspaugh/wavesurfer.js), npm (wavesurfer.js), OSV and the OpenSSF Scorecard.

Video and audio players

  1. 8.2hls.js
  2. 8.1Video.js
  3. 7.9Shaka Player
  4. 7.5wavesurfer.js
  5. 6.9dash.js
  6. 6.2Tone.js
  7. 5.9howler.js
  8. 5.6ReactPlayer
  9. 5.3Media Chrome
  10. 2.8Vidstack
  11. 2.4Plyr
Compare all 11 on six scores