# wsping **Repository Path**: mirrors_jfromaniello/wsping ## Basic Information - **Project Name**: wsping - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-05-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Verify websocket connectivity. ## Usage ``` wsping [options] Options: --timeout, -t Maximum time in seconds allowed for connection. [default: 5] --help, -h Show help [boolean] ``` Example: ``` » wsping ws://echo.websocket.org Successfully connected to ws://echo.websocket.org. » wsping ws://example.com Error: unexpected server response (200). ``` It can also be used as a library: ```javascript const wsping = require('wsping'); wsping({ url: 'ws://echo.websocket.org', timeout: 5000 }, (err) => { console.log(err); }); ``` ## Installation ``` npm i -g wsping ``` ## License MIT 2017 - José F. Romaniello