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

@xterm/addon-attach

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xterm/addon-attach

An addon for [xterm.js](https://github.com/xtermjs/xterm.js) that enables attaching to a web socket. This addon requires xterm.js v4+.


Version published
Weekly downloads
8.8K
increased by12.64%
Maintainers
1
Weekly downloads
 
Created

@xterm/addon-attach

An addon for xterm.js that enables attaching to a web socket. This addon requires xterm.js v4+.

Install

npm install --save @xterm/addon-attach

Usage

import { Terminal } from '@xterm/xterm';
import { AttachAddon } from '@xterm/addon-attach';

const terminal = new Terminal();
const attachAddon = new AttachAddon(webSocket);
terminal.loadAddon(attachAddon);

See the full API for more advanced usage.

FAQs

Package last updated on 01 Mar 2024

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