{"library":"upgrade","type":"library","category":null,"description":"UpgradeJS is a lightweight, low-level Node.js library designed to facilitate direct handling of HTTP upgrade requests, primarily for establishing raw WebSocket connections. It provides utilities for writing WebSocket handshake headers, framing and unmasking WebSocket data. A key limitation of this library is its explicit restriction to WebSocket payloads not exceeding 125 bytes. The package version `1.1.0` is the latest, but the project appears to be unmaintained, with its documentation largely reflecting an earlier `1.0.0` release and no visible recent development or a current active GitHub repository. This library offers a barebones approach, requiring developers to manage many WebSocket protocol details themselves, differentiating it from more feature-rich WebSocket libraries like `ws` or `Socket.IO` that handle framing, fragmentation, and other complexities automatically.","language":"javascript","status":"abandoned","version":"1.1.0","tags":["javascript","websocket","http","upgrade","native","simple"],"last_verified":"Wed May 27","install":[{"cmd":"npm install upgrade","imports":["const upgrade = require('upgrade')","const upgrade = require('upgrade'); upgrade.writeHead(req, socket);","const upgrade = require('upgrade'); const data = upgrade.getData(buff);","const upgrade = require('upgrade'); upgrade.send('message', socket);"]},{"cmd":"yarn add upgrade","imports":[]},{"cmd":"pnpm add upgrade","imports":[]}],"homepage":null,"github":"https://github.com/cobbdb/upgrade","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/upgrade","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/upgrade/compatibility"}}