
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
@xterm/headless
Advanced tools
⚠ This package is experimental
xterm-headless
is a headless terminal that can be run in node.js. This is useful in combination with the frontend xterm
for example to keep track of a terminal's state on a remote server where the process is hosted.
First, you need to install the module, we ship exclusively through npm, so you need that installed and then add xterm.js as a dependency by running:
npm install xterm-headless
Then import as you would a regular node package. The recommended way to load xterm-headless
is with TypeScript and the ES6 module syntax:
import { Terminal } from '@xterm/headless';
The full API for xterm-headless
is contained within the TypeScript declaration file, use the branch/tag picker in GitHub (w
) to navigate to the correct version of the API.
Note that some APIs are marked experimental, these are added to enable experimentation with new ideas without committing to support it like a normal semver API. Note that these APIs can change radically between versions, so be sure to read release notes if you plan on using experimental APIs.
Addons in xterm-headless
work the same as in xterm
with the one caveat being that the addon needs to be packaged for node.js and not use any DOM APIs.
Currently no official addons are packaged on npm.
FAQs
A headless terminal component that runs in Node.js
The npm package @xterm/headless receives a total of 23,641 weekly downloads. As such, @xterm/headless popularity was classified as popular.
We found that @xterm/headless demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.