WebSocket-SFTP implements the SFTP protocol over WebSocket connections. Version 0.8.4 is current; development appears to be ongoing but with small community. Key differentiator: enables SFTP in browser environments where raw TCP is unavailable. Provides both client and server implementations with full TypeScript types. Important for projects needing file transfer over WebSockets, commonly used alongside websocketfs infrastructure.
npm install websocket-sftpNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a WebSocket SFTP client, connect, and list a directory.
Ensure WebSocket is provided either by environment or via 'ws' package.
Update imports: `import { WebSocketSFTPClient } from 'websocket-sftp'` instead of `import WebSocketSFTPClient from 'websocket-sftp'`.Replace `SFTPWrapper` with `SFTPStream` in code.
Use a WebSocket wrapper that supports reconnection (e.g., 'reconnecting-websocket').
Use named import: `import { WebSocketSFTPClient } from 'websocket-sftp'`Install 'ws' and provide a WebSocket object: `import WebSocket from 'ws'`
Run `npm install websocket-sftp`
No dependency data recorded yet.