{"bugs":{"url":"https://github.com/xtermjs/xterm.js/issues"},"dist":{"shasum":"6c3b84f62ae9e9e9f8e10746abcf28416edb4b5a","tarball":"https://registry.npmjs.org/xterm-headless/-/xterm-headless-5.1.0-beta.30.tgz","fileCount":5,"integrity":"sha512-yVXirjb/LYQBsR66P/fjUNkNqh1EWwM/Dp1FSa8xqSXLcJSSNianLiZj7Nc/MyctIJRDWFkSPU/q8Jm4sosfLA==","signatures":[{"sig":"MEYCIQCKPDN7Qogk3xvMkgifuUQ1e4V/wWWmwMwaXHHn64hyJwIhAJnSMVNx690a2E5R6fedOmLUCRazyw8s0/y2y9nntnfh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":766212,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQbbvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpe6A//YZ0Ox5LgojKE/34+WU/o0xXgLn7pv6aCwFwSJnEivisxSCNg\r\nHmKO6MNJY3iKhD/AqB8bLmfY5jaU2KIYYLgOZCeCLdHnBBeJARdlTnSXNZjV\r\nSXpwUjCmGrJn+Ii/5WBGyTAFeAav9Y7omyL7STo/Cn7/PEtN97bJwzcB3Mpj\r\n0U1kuA/tSmgUg/Hi9YevEfsZvQGOJVVs/9uy2LyyFbtYCYopsxsyJ/IuOl0O\r\n3TXwBUIoI+8NfdcrMFwuxVyq1pTYSllDFey5VseJIeaxIVu/q2AgUUEQjQqg\r\nqYnFbrcojL0b9JkfyphyMOMCLY0jdWV7mAXF5Q2Czfl6ulP/WapyQy57Iclp\r\nOX2L40DHB9huzJ8ipBIr5dXlELGBQrDgqY3VaAZ1wHoew9pREg9jTfi3twD5\r\nDfwey0ra+cQMr9/DGfGN+JRPDJIN/kFnN5q5yg1H8HglcAOyXhJpuhs3kJX2\r\n9FYv4F8CMf4/OAWQ+84UUOo6KNvlB+9FzWeKT2dRc1FdjOYJN71YGjYfT9cV\r\nbCn22MXUvH+NlT2PzXGy1fpw6qXVm1vUuiuPixfkZbQRhL/6op2WqTDHRj1B\r\n/5WbHDWjze3tj4VNW730KqhdVO5Kjx1STUQerVxAzsIIqs1QWzVnVX0v3XZB\r\nD7JoVy48F/H1XUSrPs6ZR0zYqcW4XwOFJO0=\r\n=iC8f\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.1.0-beta.30_1665251054753_0.7595125266398943","host":"s3://npm-registry-packages"},"_id":"xterm-headless@5.1.0-beta.30","version":"5.1.0-beta.30"}