@sushensanthush/vibe-check
v1.0.0
Published
A lightweight, intelligent network monitor that tracks latency and connection quality (excellent, stuttering, or offline).
Maintainers
Readme
@sushensanthush/vibe-check
A professional, lightweight network quality monitor.
Installation
npm install @sushensanthush/vibe-checkUsage
import { VibeCheck } from '@sushensanthush/vibe-check';
const checker = new VibeCheck();
checker.start((vibe) => {
console.log(vibe.status); // 'excellent', 'stuttering', or 'offline'
});2. Publish to NPM
This is the big moment. Open your terminal in the vibe-check folder (not the test folder) and run:
- Build one last time:
npm run build - Log in to your account:
(It will open a browser window for you to sign in to npmjs.com)npm login - Ship it:
npm publish --access public
3. Clean Up Your Workspace
Once it is published, you don't need the local "links" anymore. You can clean up your machine:
# In vibe-test
npm unlink @sushensanthush/vibe-check
cd ..
rm -r vibe-test
# In vibe-check
npm unlink