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

@tvildo/parla

v0.2.2

Published

AI noise suppression for a web app's microphone, on the user's device (WebAssembly + AudioWorklet). React hook included.

Readme

@tvildo/parla

AI noise suppression for your web app's microphone. Parla removes background noise and other voices from a microphone track, live, entirely on the user's device (WebAssembly in an AudioWorklet). No account, no API key, no server: the engine and its models ship inside this package.

npm install @tvildo/parla
import { Parla } from '@tvildo/parla';

const mic = (await navigator.mediaDevices.getUserMedia({ audio: { noiseSuppression: false } })).getAudioTracks()[0];
const parla = await Parla.load();             // with a bundler the engine files come from this package
const ns = await parla.process(mic);          // call it after a click: browsers start audio only after a user gesture
peerConnection.addTrack(ns.track);            // the cleaned microphone
ns.onVoice = ({ speaking }) => showTalking(speaking);

React:

import { useParla } from '@tvildo/parla/react';

function Call({ mic }) {
  const { track, ready, speaking } = useParla(mic);   // track: the cleaned microphone once ready
  useEffect(() => { if (ready) sender.replaceTrack(track); }, [ready, track]);
  return <MicIcon active={speaking} />;
}

Features

  • Noise and voice removal: three quality levels: deepfilternet3 (best, full band 48 kHz, default), rnnoise (light, full band), gtcrn (lightest, wideband).
  • Speech detection: onVoice({ speaking, prob, levelDb }) about 19 times a second, on the cleaned voice: a "you are talking" indicator, or a hint when someone talks while muted.
  • Live controls without clicks: setEnabled(on), setStrength(0..1) (keep some of the room), setGain(x).
  • Device changes mid-call: setInput(otherMic) keeps the same output track.
  • Low delay: ~33 ms with the best model.
  • Fails safe: if the engine can't start, process() throws and your app keeps the plain microphone.
  • Private: audio never leaves the browser; the package makes no requests except for its own files.

Engine files

The package contains the engine (~260 KB of wasm per build) and the three models (~9.5 MB, mostly the best model's weights). Your bundler (Vite, webpack 5, Rollup, esbuild, Parcel) emits them as assets automatically; the browser downloads only the wasm build it can run and the model in use. Without a bundler, serve dist/engine and dist/models yourself and pass Parla.load({ base: '/path/to/them/' }). Your page's Content Security Policy needs script-src 'wasm-unsafe-eval'.

Docs

Getting started, React, features, assets and CSP, API: https://github.com/tvildo/parla/tree/master/docs.

Apache-2.0. Model weights keep their own permissive licences (see NOTICE). Made by tvildo.