{
  "name": "xterm",
  "description": "Full xterm terminal, in your browser",
  "version": "4.3.0",
  "main": "lib/xterm.js",
  "style": "css/xterm.css",
  "types": "typings/xterm.d.ts",
  "repository": {
    "type": "git",
    "url": "https://github.com/xtermjs/xterm.js"
  },
  "license": "MIT",
  "scripts": {
    "prepackage": "npm run build",
    "package": "webpack",
    "start": "node demo/start",
    "lint": "tslint 'src/**/*.ts' 'addons/*/src/**/*.ts'",
    "test": "npm run test-unit",
    "posttest": "npm run lint",
    "test-api": "mocha \"**/*.api.js\"",
    "test-unit": "node ./bin/test.js",
    "test-unit-coverage": "node ./bin/test.js --coverage",
    "build": "tsc -b ./tsconfig.all.json",
    "prepare": "npm run setup",
    "setup": "npm run build",
    "presetup": "node ./bin/install-addons.js",
    "prepublishOnly": "npm run package",
    "watch": "tsc -b -w ./tsconfig.all.json --preserveWatchOutput",
    "benchmark": "NODE_PATH=./out xterm-benchmark -r 5 -c test/benchmark/benchmark.json",
    "benchmark-baseline": "NODE_PATH=./out xterm-benchmark -r 5 -c test/benchmark/benchmark.json --baseline out-test/benchmark/test/benchmark/*benchmark.js",
    "benchmark-eval": "NODE_PATH=./out xterm-benchmark -r 5 -c test/benchmark/benchmark.json --eval out-test/benchmark/test/benchmark/*benchmark.js",
    "clean": "rm -rf lib out addons/*/lib addons/*/out"
  },
  "devDependencies": {
    "@types/chai": "^3.4.34",
    "@types/deep-equal": "^1.0.1",
    "@types/glob": "^5.0.35",
    "@types/jsdom": "11.0.1",
    "@types/mocha": "^2.2.33",
    "@types/node": "6.0.108",
    "@types/puppeteer": "^1.12.4",
    "@types/utf8": "^2.1.6",
    "@types/webpack": "^4.4.11",
    "@types/ws": "^6.0.1",
    "chai": "3.5.0",
    "deep-equal": "^1.1.0",
    "express": "^4.17.1",
    "express-ws": "^4.0.0",
    "glob": "^7.0.5",
    "jsdom": "^11.11.0",
    "mocha": "^6.1.4",
    "node-pty": "0.7.6",
    "nyc": "13",
    "puppeteer": "^1.15.0",
    "source-map-loader": "^0.2.4",
    "ts-loader": "^6.0.4",
    "tslint": "^5.18.0",
    "tslint-consistent-codestyle": "^1.13.0",
    "typescript": "3.7",
    "utf8": "^3.0.0",
    "webpack": "^4.35.3",
    "webpack-cli": "^3.1.0",
    "ws": "^7.0.0",
    "xterm-benchmark": "^0.1.3"
  },
  "readme": "# [![xterm.js logo](logo-full.png)](https://xtermjs.org)\n\n[![Build Status](https://dev.azure.com/xtermjs/xterm.js/_apis/build/status/xtermjs.xterm.js)](https://dev.azure.com/xtermjs/xterm.js/_build/latest?definitionId=3)\n\nXterm.js is a front-end component written in TypeScript that lets applications bring fully-featured terminals to their users in the browser. It's used by popular projects such as VS Code, Hyper and Theia.\n\n## Features\n\n- **Terminal apps just work**: Xterm.js works with most terminal apps such as `bash`, `vim` and `tmux`, this includes support for curses-based apps and mouse event support.\n- **Performant**: Xterm.js is *really* fast, it even includes a GPU-accelerated renderer.\n- **Rich unicode support**: Supports CJK, emojis and IMEs.\n- **Self-contained**: Requires zero dependencies to work.\n- **Accessible**: Screen reader and minimum contrast ratio support can be turned on\n- **And much more**: Links, theming, addons, well documented API, etc.\n\n## What xterm.js is not\n\n- Xterm.js is not a terminal application that you can download and use on your computer.\n- Xterm.js is not `bash`. Xterm.js can be connected to processes like `bash` and let you interact with them (provide input, receive output).\n\n## Getting Started\n\nFirst you need to install the module, we ship exclusively through [npm](https://www.npmjs.com/) so you need that installed and then add xterm.js as a dependency by running:\n\n```\nnpm install xterm\n```\n\nTo start using xterm.js on your browser, add the `xterm.js` and `xterm.css` to the head of your html page. Then create a `<div id=\"terminal\"></div>` onto which xterm can attach itself. Finally instantiate the `Terminal` object and then call the `open` function with the DOM object of the `div`.\n\n```html\n<!doctype html>\n  <html>\n    <head>\n      <link rel=\"stylesheet\" href=\"node_modules/xterm/css/xterm.css\" />\n      <script src=\"node_modules/xterm/lib/xterm.js\"></script>\n    </head>\n    <body>\n      <div id=\"terminal\"></div>\n      <script>\n        var term = new Terminal();\n        term.open(document.getElementById('terminal'));\n        term.write('Hello from \\x1B[1;3;31mxterm.js\\x1B[0m $ ')\n      </script>\n    </body>\n  </html>\n```\n\n### Importing\n\nThe recommended way to load xterm.js is via the ES6 module syntax:\n\n```javascript\nimport { Terminal } from 'xterm';\n```\n\n### Addons\n\n⚠️ *This section describes the new addon format introduced in v3.14.0, see [here](https://github.com/xtermjs/xterm.js/blob/3.14.2/README.md#addons) for the instructions on the old format*\n\nAddons are separate modules that extend the `Terminal` by building on the [xterm.js API](https://github.com/xtermjs/xterm.js/blob/master/typings/xterm.d.ts). To use an addon you first need to install it in your project:\n\n```bash\nnpm i -S xterm-addon-web-links\n```\n\nThen import the addon, instantiate it and call `Terminal.loadAddon`:\n\n```ts\nimport { Terminal } from 'xterm';\nimport { WebLinksAddon } from 'xterm-addon-web-links';\n\nconst terminal = new Terminal();\n// Load WebLinksAddon on terminal, this is all that's needed to get web links\n// working in the terminal.\nterminal.loadAddon(new WebLinksAddon());\n```\n\nThe xterm.js team maintains the following addons but they can be built by anyone:\n\n- [`xterm-addon-attach`](https://github.com/xtermjs/xterm.js/tree/master/addons/xterm-addon-attach): Attaches to a server running a process via a websocket\n- [`xterm-addon-fit`](https://github.com/xtermjs/xterm.js/tree/master/addons/xterm-addon-fit): Fits the terminal to the containing element\n- [`xterm-addon-search`](https://github.com/xtermjs/xterm.js/tree/master/addons/xterm-addon-search): Adds search functionality\n- [`xterm-addon-web-links`](https://github.com/xtermjs/xterm.js/tree/master/addons/xterm-addon-web-links): Adds web link detection and interaction\n\n## Browser Support\n\nSince xterm.js is typically implemented as a developer tool, only modern browsers are supported officially. Specifically the latest versions of *Chrome*, *Edge*, *Firefox* and *Safari*.\n\nWe also partially support *Intenet Explorer 11*, meaning xterm.js should work for the most part, but we reserve the right to not provide workarounds specifically for it unless it's absolutely necessary to get the basic input/output flow working.\n\nXterm.js works seamlessly in [Electron](https://electronjs.org/) apps and may even work on earlier versions of the browsers, these are the versions we strive to keep working.\n\n## API\n\nThe full API for xterm.js is contained within the [TypeScript declaration file](https://github.com/xtermjs/xterm.js/blob/master/typings/xterm.d.ts), use the branch/tag picker in GitHub (`w`) to navigate to the correct version of the API.\n\nNote that some APIs are marked *experimental*, these are added to enable experimentation with new ideas without committing to support it like a normal [semver](https://semver.org/) API. Note that these APIs can change radically between versions so be sure to read release notes if you plan on using experimental APIs.\n\n## Real-world uses\nXterm.js is used in several world-class applications to provide great terminal experiences.\n\n- [**SourceLair**](https://www.sourcelair.com/): In-browser IDE that provides its users with fully-featured Linux terminals based on xterm.js.\n- [**Microsoft Visual Studio Code**](http://code.visualstudio.com/): Modern, versatile and powerful open source code editor that provides an integrated terminal based on xterm.js.\n- [**ttyd**](https://github.com/tsl0922/ttyd): A command-line tool for sharing terminal over the web, with fully-featured terminal emulation based on xterm.js.\n- [**Katacoda**](https://www.katacoda.com/): Katacoda is an Interactive Learning Platform for software developers, covering the latest Cloud Native technologies.\n- [**Eclipse Che**](http://www.eclipse.org/che): Developer workspace server, cloud IDE, and Eclipse next-generation IDE.\n- [**Codenvy**](http://www.codenvy.com): Cloud workspaces for development teams.\n- [**CoderPad**](https://coderpad.io): Online interviewing platform for programmers. Run code in many programming languages, with results displayed by xterm.js.\n- [**WebSSH2**](https://github.com/billchurch/WebSSH2): A web based SSH2 client using xterm.js, socket.io, and ssh2.\n- [**Spyder Terminal**](https://github.com/spyder-ide/spyder-terminal): A full fledged system terminal embedded on Spyder IDE.\n- [**Cloud Commander**](https://cloudcmd.io \"Cloud Commander\"): Orthodox web file manager with console and editor.\n- [**Next Tech**](https://next.tech \"Next Tech\"): Online platform for interactive coding and web development courses. Live container-backed terminal uses xterm.js.\n- [**RStudio**](https://www.rstudio.com/products/RStudio \"RStudio\"): RStudio is an integrated development environment (IDE) for R.\n- [**Terminal for Atom**](https://github.com/jsmecham/atom-terminal-tab): A simple terminal for the Atom text editor.\n- [**Eclipse Orion**](https://orionhub.org): A modern, open source software development environment that runs in the cloud. Code, deploy and run in the cloud.\n- [**Gravitational Teleport**](https://github.com/gravitational/teleport): Gravitational Teleport is a modern SSH server for remotely accessing clusters of Linux servers via SSH or HTTPS.\n- [**Hexlet**](https://en.hexlet.io): Practical programming courses (JavaScript, PHP, Unix, databases, functional programming). A steady path from the first line of code to the first job.\n- [**Selenoid UI**](https://github.com/aerokube/selenoid-ui): Simple UI for the scallable golang implementation of Selenium Hub named Selenoid. We use XTerm for streaming logs over websockets from docker containers.\n- [**Portainer**](https://portainer.io): Simple management UI for Docker.\n- [**SSHy**](https://github.com/stuicey/SSHy): HTML5 Based SSHv2 Web Client with E2E encryption utilising xterm.js, SJCL & websockets.\n- [**JupyterLab**](https://github.com/jupyterlab/jupyterlab): An extensible computational environment for Jupyter, supporting interactive data science and scientific computing across all programming languages.\n- [**Theia**](https://github.com/theia-ide/theia): Theia is a cloud & desktop IDE framework implemented in TypeScript.\n- [**Opshell**](https://github.com/ricktbaker/opshell) Ops Helper tool to make life easier working with AWS instances across multiple organizations.\n- [**Proxmox VE**](https://www.proxmox.com/en/proxmox-ve): Proxmox VE is a complete open-source platform for enterprise virtualization. It uses xterm.js for container terminals and the host shell.\n- [**Script Runner**](https://github.com/ioquatix/script-runner): Run scripts (or a shell) in Atom.\n- [**Whack Whack Terminal**](https://github.com/Microsoft/WhackWhackTerminal): Terminal emulator for Visual Studio 2017.\n- [**VTerm**](https://github.com/vterm/vterm): Extensible terminal emulator based on Electron and React.\n- [**electerm**](http://electerm.html5beta.com): electerm is a terminal/ssh/sftp client(mac, win, linux) based on electron/node-pty/xterm.\n- [**Kubebox**](https://github.com/astefanutti/kubebox): Terminal console for Kubernetes clusters.\n- [**Azure Cloud Shell**](https://shell.azure.com): Azure Cloud Shell is a Microsoft-managed admin machine built on Azure, for Azure.\n- [**atom-xterm**](https://atom.io/packages/atom-xterm): Atom plugin for providing terminals inside your Atom workspace.\n- [**rtty**](https://github.com/zhaojh329/rtty): Access your terminals from anywhere via the web.\n- [**Pisth**](https://github.com/ColdGrub1384/Pisth): An SFTP and SSH client for iOS.\n- [**abstruse**](https://github.com/bleenco/abstruse): Abstruse CI is a continuous integration platform based on Node.JS and Docker.\n- [**Azure Data Studio**](https://github.com/Microsoft/azuredatastudio): A data management tool that enables working with SQL Server, Azure SQL DB and SQL DW from Windows, macOS and Linux.\n- [**FreeMAN**](https://github.com/matthew-matvei/freeman): A free, cross-platform file manager for power users.\n- [**Fluent Terminal**](https://github.com/felixse/FluentTerminal): A terminal emulator based on UWP and web technologies.\n- [**Hyper**](https://hyper.is): A terminal built on web technologies.\n- [**Diag**](https://diag.ai): A better way to troubleshoot problems faster. Capture, share and reapply troubleshooting knowledge so you can focus on solving problems that matter.\n- [**GoTTY**](https://github.com/yudai/gotty): A simple command line tool that shares your terminal as a web application based on xterm.js.\n- [**genact**](https://github.com/svenstaro/genact): A nonsense activity generator.\n- [**cPanel & WHM**](https://cpanel.com): The hosting platform of choice.\n- [**Nutanix**](https://github.com/nutanix): Nutanix Enterprise Cloud uses xterm in the webssh functionality within Nutanix Calm, and is also looking to move our old noserial (termjs) functionality to xterm.js.\n- [**SSH Web Client**](https://github.com/roke22/PHP-SSH2-Web-Client): SSH Web Client with PHP.\n- [**Shellvault**](https://www.shellvault.io): The cloud-based SSH terminal you can access from anywhere.\n- [**Juno**](http://junolab.org/): A flexible Julia IDE, based on Atom.\n- [**webssh**](https://github.com/huashengdun/webssh): Web based ssh client.\n- [**info-beamer hosted**](https://info-beamer.com): Uses xterm.js to manage digital signage devices from the web dashboard.\n- [**Jumpserver**](https://github.com/jumpserver/luna): Jumpserver Luna project, Jumpserver is a bastion server project, Luna use xterm.js for web terminal emulation.\n- [**LxdMosaic**](https://github.com/turtle0x1/LxdMosaic): Uses xterm.js to give terminal access to containers through LXD\n- [**CodeInterview.io**](https://codeinterview.io): A coding interview platform in 25+ languages and many web frameworks. Uses xterm.js to provide shell access.\n- [**Bastillion**](https://www.bastillion.io): Bastillion is an open-source web-based SSH console that centrally manages administrative access to systems.\n- [**PHP App Server**](https://github.com/cubiclesoft/php-app-server/): Create lightweight, installable almost-native applications for desktop OSes.  ExecTerminal (nicely wraps the xterm.js Terminal), TerminalManager, and RunProcessSDK are self-contained, reusable ES5+ compliant Javascript components.\n- [**NgTerminal**](https://github.com/qwefgh90/ng-terminal): NgTerminal is a web terminal that leverages xterm.js on Angular 7+. You can easily add it into your application by adding `<ng-terminal></ng-terminal>` into your component.\n- [**tty-share**](https://tty-share.com): Extremely simple terminal sharing over the Internet.\n- [**Ten Hands**](https://github.com/saisandeepvaddi/ten-hands): One place to run your command-line tasks.\n- [**WebAssembly.sh**](https://webassembly.sh): A WebAssembly WASI browser terminal\n\n[And much more...](https://github.com/xtermjs/xterm.js/network/dependents)\n\nDo you use xterm.js in your application as well? Please [open a Pull Request](https://github.com/sourcelair/xterm.js/pulls) to include it here. We would love to have it in our list. Note: Please add any new contributions to the end of the list only.\n\n## Releases\n\nXterm.js follows a monthly release cycle roughly.\n\nAll current and past releases are available on this repo's [Releases page](https://github.com/sourcelair/xterm.js/releases), you can view the [high-level roadmap on the wiki](https://github.com/xtermjs/xterm.js/wiki/Roadmap) and see what we're working on now by looking through [Milestones](https://github.com/sourcelair/xterm.js/milestones).\n\n### Beta builds\n\nOur CI releases beta builds to npm for every change that goes into master, install the latest beta build with:\n\n```\nnpm install -S xterm@beta\n```\n\nThese should generally be stable but some bugs may slip in, we recommend using the beta build primarily to test out new features and for verifying bug fixes.\n\n## Contributing\n\nYou can read the [guide on the wiki](https://github.com/xtermjs/xterm.js/wiki/Contributing) to learn how to contribute and setup xterm.js for development.\n\n## License Agreement\n\nIf you contribute code to this project, you are implicitly allowing your code to be distributed under the MIT license. You are also implicitly verifying that all code is your original work.\n\nCopyright (c) 2017-2019, [The xterm.js authors](https://github.com/xtermjs/xterm.js/graphs/contributors) (MIT License)<br>\nCopyright (c) 2014-2017, SourceLair, Private Company ([www.sourcelair.com](https://www.sourcelair.com/home)) (MIT License)<br>\nCopyright (c) 2012-2013, Christopher Jeffrey (MIT License)\n",
  "readmeFilename": "README.md",
  "bugs": {
    "url": "https://github.com/xtermjs/xterm.js/issues"
  },
  "homepage": "https://github.com/xtermjs/xterm.js",
  "_id": "xterm@4.3.0",
  "dist": {
    "shasum": "403e488e9483b2dc51e9a2b9f902995b64f03a01"
  },
  "_from": "xterm@",
  "_resolved": "https://registry.npmjs.org/xterm/-/xterm-4.3.0.tgz"
}
