{"id":47168,"library":"bipbop-websocket","title":"Bipbop WebSocket","description":"A lightweight JavaScript client for connecting to the Bipbop WebSocket API. Version 1.1.0 provides a simple interface for real-time communication via WebSockets, focusing on ease of use and compatibility. It has no external dependencies and is distributed as CommonJS. Suitable for Node.js and browser environments with bundling. Compared to raw WebSocket, it offers a tailored API for Bipbop services.","status":"active","version":"1.1.0","language":"javascript","source_language":"en","source_url":"https://github.com/bipbop/bipbop-websocket","tags":["javascript","websocket","api","bipbop"],"install":[{"cmd":"npm install bipbop-websocket","lang":"bash","label":"npm"},{"cmd":"yarn add bipbop-websocket","lang":"bash","label":"yarn"},{"cmd":"pnpm add bipbop-websocket","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Package is CommonJS only; ES module imports are not supported.","wrong":"import BipbopWebSocket from 'bipbop-websocket';","symbol":"default (client)","correct":"const BipbopWebSocket = require('bipbop-websocket');"}],"quickstart":{"code":"const BipbopWebSocket = require('bipbop-websocket');\nconst ws = new BipbopWebSocket('wss://api.bipbop.com/ws', { apiKey: process.env.API_KEY ?? '' });\nws.on('open', () => { console.log('Connected'); });\nws.on('message', (data) => { console.log('Received:', data); });\nws.on('error', (err) => { console.error('Error:', err); });\nws.send({ type: 'subscribe', channel: 'prices' });\nsetTimeout(() => ws.close(), 5000);","lang":"javascript","description":"Shows how to install, connect to a Bipbop WebSocket endpoint, and handle basic events using the CommonJS API."},"warnings":[{"fix":"Create your own type declarations or use a .d.ts file via declare module.","message":"The package does not include any TypeScript type definitions.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Bundle with a tool that can resolve CommonJS modules.","message":"No browser build is provided; consuming in browser requires a bundler (e.g., Webpack, Rollup).","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'1.1.0':15 'api':13,60,66 'bipbop':1,11,62,67 'browser':48 'bundl':51 'client':6 'commonj':43 'communic':24 'compar':52 'compat':33 'connect':8 'depend':38 'distribut':41 'eas':29 'environ':49 'extern':37 'focus':27 'interfac':19 'javascript':5,64 'lightweight':4 'node.js':46 'offer':57 'provid':16 'raw':54 'real':22 'real-tim':21 'servic':63 'simpl':18 'suitabl':44 'tailor':59 'time':23 'use':31 'version':14 'via':25 'websocket':2,12,26,55,65","created_at":"2026-06-07T16:50:08.574139+00:00","updated_at":"2026-06-07T16:50:08.574139+00:00","problems":[{"fix":"Run 'npm install bipbop-websocket --save'.","cause":"Missing dependency installation.","error":"Cannot find module 'bipbop-websocket'"},{"fix":"Use a bundler or convert to ES module with import (if available).","cause":"Using 'require' in an ES module environment or browser without a bundler.","error":"require is not defined"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/bipbop/bipbop-websocket#readme","github":"https://github.com/bipbop/bipbop-websocket","docs":null,"changelog":null,"pypi":null,"npm":"bipbop-websocket","openapi_spec":null,"status_page":null,"smithery":null,"categories":["messaging"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-07","next_check":"2026-09-05","install_tag":null}}