
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
char-spinner
Advanced tools
Put a little spinner on process.stderr, as unobtrusively as possible.
import { spinner } from 'char-spinner'
// All options are optional
// even the options argument itself is optional
const clear = spinner(options)
// the return value is the clear function
// call it to stop the spinner
clear()
Usually the defaults are what you want. Mostly they're just configurable for testing purposes.
stream Output stream. Default=process.stderrtty Only show spinner if output stream has a truish .isTTY. Default=truestring String of chars to spin. Default='/-\\|'interval Number of ms between frames, bigger = slower. Default=50cleanup Print '\r \r' to stream on process exit. Default=trueunref Unreference the spinner interval so that the process can
exit normally. Default=truedelay Number of frames to "skip over" before printing the spinner.
Useful if you want to avoid showing the spinner for very fast
actions. Default=2promise Pass in a promise or promise-returning function if
you want it to automatically stop spinning when the promise
resolves.Returns the generated interval, if one was created.
FAQs
Put a little spinner on process.stderr, as unobtrusively as possible.
The npm package char-spinner receives a total of 440,200 weekly downloads. As such, char-spinner popularity was classified as popular.
We found that char-spinner demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.