{"bugs":{"url":"https://github.com/xtermjs/xterm.js/issues"},"dist":{"shasum":"db8d4cc45a2bba062622d7784a2264030aa7d56d","tarball":"https://registry.npmjs.org/xterm-headless/-/xterm-headless-5.2.0-beta.2.tgz","fileCount":5,"integrity":"sha512-aP3+K47bJu5AkdtekML5LZZUh/zAkDc5ONNFgQ+7eUBh7RkFy3JYRuaG5Nj3LbdkUMjWqQZXzc3BW5Vo9KQNgA==","signatures":[{"sig":"MEUCIEkMJBDaiq1IPq4mLbj0Zz5KU0pH7TJppBvPcxP9nB0iAiEA0iMcou2QHK520oJecd7lDzztV+FAreQb//+QZITdNqQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":774109,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjokQpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoo3Q/+O3pP1KI0z4457qGa8Fp1oRc+SKjrJEBK799a2m7Mh7VSKJ9s\r\nWutsIvpaz96kdkrIr4gFwZLpwzYZlSS2+P7OwevMazcKmJ20ew2bZDzAf4Gz\r\n/HS+jF/vT6H31eIUjCKOpNrNmycE/lLmODVtZVcBlehHaahFSVXcnovA93my\r\nc3M7ZXpKMVZs/C60/0aqYFpAa2+Ce5yJglEpdBS9g2BxwgcUEUO+++fjQSIi\r\nkq77JaYI0ECaJH9gBqrFJ4fZXcRWNL76aFmXaPNPyRUOxGho8r12enfndIHG\r\n7Fj+KyR/o04UTFd13GRlQHbWGk6PSmrYHSDsHw4h/fJ00QezbMdfUhMX6OdD\r\nzn4ugMW3yikcfq7q4rq7fmVrM1OG7XLfI2ZpyR3zUTNj2/4+dbFca97XC+Kj\r\nBR31EYVHik1aJIB+XmAxuWAGWb+py2X0CPwhinkeFGe2wLXTsL5qSdpfWsjJ\r\nz3BozVSmISUpTJJohRYTpz9rhPDzTwU9XAPlWXm1ArZtx5qgsEIaWXPzFOt9\r\nooDDmEHlrPTSYSVuBkSOILJTtIwDkUbGa8MnXbbhIOtDO/qaBSwqZ72xQoLY\r\nhUjb4tjzar6vxGi4yyTp+k5f1NgkNPxeHKcNPOJrVfZcyGvpq/p9eP3jol/f\r\nWb25rN0ekQrCfvQ6Ny/cEizBl5n5UjrFMo0=\r\n=F+MZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib-headless/xterm-headless.js","name":"xterm-headless","types":"typings/xterm-headless.d.ts","readme":"# [![xterm.js logo](logo-full.png)](https://xtermjs.org)\n\n⚠ This package is experimental\n\n`xterm-headless` is a headless terminal that can be run in node.js. This is useful in combination with the frontend [`xterm`](https://www.npmjs.com/package/xterm) for example to keep track of a terminal's state on a remote server where the process is hosted.\n\n## Getting Started\n\nFirst, 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:\n\n```sh\nnpm install xterm-headless\n```\n\nThen import as you would a regular node package. The recommended way to load `xterm-headless` is with TypeScript and the ES6 module syntax:\n\n```javascript\nimport { Terminal } from 'xterm-headless';\n```\n\n## API\n\nThe full API for `xterm-headless` is contained within the [TypeScript declaration file](https://github.com/xtermjs/xterm.js/blob/master/typings/xterm-headless.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### Addons\n\nAddons in `xterm-headless` work the [same as in `xterm`](https://github.com/xtermjs/xterm.js/blob/master/README.md#addons) with the one caveat being that the addon needs to be packaged for node.js and not use any DOM APIs.\n\nCurrently no official addons are packaged on npm.\n","license":"MIT","_npmUser":{"name":"tyriar","email":"tyriar@tyriar.com"},"homepage":"https://github.com/xtermjs/xterm.js#readme","keywords":["cli","command-line","console","pty","shell","ssh","styles","terminal-emulator","terminal","tty","vt100","webgl","xterm"],"deprecated":"This package is now deprecated. Move to @xterm/headless instead.","repository":{"url":"git+https://github.com/xtermjs/xterm.js.git","type":"git"},"_npmVersion":"6.14.17","description":"A headless terminal component that runs in Node.js","directories":{},"maintainers":[{"name":"tyriar","email":"tyriar@tyriar.com"}],"_nodeVersion":"14.20.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/xterm-headless_5.2.0-beta.2_1671578664932_0.14402615495752946","host":"s3://npm-registry-packages"},"_id":"xterm-headless@5.2.0-beta.2","version":"5.2.0-beta.2"}