{"bugs":{"url":"https://github.com/xtermjs/xterm.js/issues"},"dist":{"shasum":"a61c9bf7b37b2989ad04ca6db4b64e9e3dbd5304","tarball":"https://registry.npmjs.org/xterm-headless/-/xterm-headless-5.1.0-beta.65.tgz","fileCount":5,"integrity":"sha512-rjsZptCLJjK4wzwx7GA7drKNUDGc+Zqlo1KngIN49YjcIONre8fekZwygvEilMAqWQnbZU89ggU5uS5KdnQQZQ==","signatures":[{"sig":"MEQCIHrMecrxL2RaSyq4jrGBN2DbvDcQEqwRbre69xVB4JCXAiB1im5YH9qX6fI49R6hRlUMz7+lQUUW04BAd5wt7ujWvw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":766687,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhSS3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo6IxAAgINY07qJpaoTG3Y1hosQtEQuzQqjeOYa/L+YQLr9ZSoIfSHJ\r\n27jMw+L9yEv39jKbl41oyFN4O8gxAfM/dgSvCFCSITBp3MIMJtN6DuFvcb3+\r\nKA0wqyk3E6Z6uR3qZlGA53BaDCf97fszHVj5AEv5CFl8ty9upmdMLJbqEKwA\r\n5v6uD9y0bHn0kRrY9eWMDfZbn8ED0OfWWu1wR0qfnmnNk5hbVRS1w+0cmKyj\r\nxLdG1Qf2O544CSH6lyFMwQ/07mMzgFDpdYtIsZ6v16QiRlNBPx6obKOjGjGW\r\nMSZ38/Fhp74EcQfoB0MymrKerE3/32VAsSGdgY+6puU0mjyUv/9zvr1on6O+\r\nzKvL3hOSsGFIIb7d1Vj7+hlk1YWQv41kAZY0mH+mNksiSNRlm6QE622jGlgt\r\nzPabk+o4y1/47hSfO04uVEjdPU8PnVQ33g2gT5pOF/OIYM6m1AHmEKZNQfgv\r\nFifsIzofBIU+Ghzp53MVKguZKPxHRWbj44HRxNA2Dwog72hhAJV6nkqGX4wJ\r\npw2+fHsbo6vlaH488sWX/anwsu8SgEtvKzkhh/2QMnGGaCGCSMyWeFZR1IBr\r\n0h+T6uyvtGJDUX9hH6HrfMDDoV/v++2EYtv2xMwWGuc8HtlTvvYNBFSTDulV\r\n7CFDl+JJoKEtu9J2P/O1q6iBowEZXoeVI/U=\r\n=/hhM\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.65_1669670071066_0.3872407004588252","host":"s3://npm-registry-packages"},"_id":"xterm-headless@5.1.0-beta.65","version":"5.1.0-beta.65"}