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

myphonespeaker

v1.0.0

Published

Water eject tone for phone speakers as a WAV file, speaker check sweep, wet phone first aid and a drying timer. CLI for myphonespeaker.com.

Readme

myphonespeaker

Command-line companion to MyPhoneSpeaker: the water eject tone as a WAV file you can play on your phone, a speaker check sweep, wet phone first aid with sources, and a drying timer.

No dependencies. Node.js 18 or newer.

npx myphonespeaker eject

Commands

| Command | What it does | |---|---| | eject [--out file.wav] [--resonance] | Writes the water eject tone as a WAV file (about 92 s). Add --resonance for the experimental 450-900 Hz sweep at the end. | | check [--out file.wav] | Writes a 200-4000 Hz listening sweep for a before/after check. | | first-aid [--sources] | Prints what to do when a phone gets wet, in order, with source numbers. --sources lists the links (Apple, Google, Samsung, Xiaomi, iFixit). | | timer [minutes] | Counts down the drying time before cable charging. Default: 300 minutes (Apple's 5-hour rule for a wet iPhone). | | tools | Lists the free browser tools on myphonespeaker.com. | | open [tool-id] | Opens a tool in your browser. Default: the water eject tone. |

What the tone is

Three cycles of ten sine pulses. The pulses step from 150 Hz to 300 Hz, 1.5 s on and 0.75 s off, with a 12 s pause between cycles. The parameters are the same as on the website and come from one file, data/protocol.json. The method and the measurements of other speaker cleaner sounds are on How we measured.

How to use the WAV file

  1. Send the file to your phone and play it there. The tone works only through the phone's own speaker. Laptop speakers do not help a phone.
  2. Take off the case. Set the volume to full. Hold the phone speaker side down.
  3. In the pauses, let water drip out and wipe the grille gently with a dry cloth.

Note: The tone helps only with a muffled speaker after a splash. It does not dry the inside of a phone. If the phone was under water, does not turn on, or got salt water or a sugary drink on it, run npx myphonespeaker first-aid first. See Does the water eject sound work? for what independent tests found.

The guided browser version, with a before/after check and a drying timer, is at myphonespeaker.com.

License

MIT