New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@patternplate/websocket-client

Package Overview
Dependencies
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@patternplate/websocket-client

Websocket client with automatic retries

  • 2.0.0-27
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
26
increased by1200%
Maintainers
1
Weekly downloads
 
Created
Source

Documentation and development interface for component libraries

@patternplate/websocket-client

  • Framework independent
  • Bring design docs to live with real components
  • Powerful search and meta data system

This is the contributor documentation for @patternplate/websocket-client For user docs see patternplate.github.io

About @patternplate/websocket-client

Create a ws:// connection that reconnects when disconnected.

Usage

const { WebSocketClient } = require("@patternplate/websocket-client");

const ws = new WebSocketClient({
  src: `ws://localhost:1337/api/`,
  reconnect: true,
  interval: 1000
});

ws.open();
ws.onMessage(message => console.log(message));

License

Copyright by SinnerSchrader. All @patternplate packages are released under the MIT license.

FAQs

Package last updated on 07 Mar 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc