{"bugs":{"url":"https://github.com/xtermjs/xterm.js/issues"},"dist":{"shasum":"dd1c0f99dec1224eca7e67428f47ceb54394dda5","tarball":"https://registry.npmjs.org/xterm-headless/-/xterm-headless-5.1.0-beta.46.tgz","fileCount":5,"integrity":"sha512-BXA79FsGDZcrSgikeluzl0CWLP3pcUj5fo1WfUVphOc1LHdpKkNhIHG8UVmC5QJjfH7wb0XUWUFyz0rWZmA5yA==","signatures":[{"sig":"MEUCICSxtI2lqkfD3uYWqsp5RGsTHdtAoU5eMYVPiOeZzloYAiEAssbDCcw43w3pHMKJzcKjGDbOJBNmrhP7b4XIbU4r76Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":768601,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTx4RACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp2CA/7BQsPTVq4S+CfgmmWtKaEta7Nhp6jHoI4KDsS3MEEl82p1o56\r\nxos/ilVi6NPgng+D8Wy4X+g0rzlL9qMlhpUtRghHS6ZcXi75Brz1/Fps8PEW\r\nUn3dDVTlQl8CzDH3pROAyxlPVdyU8BLgkXqXcIqCrh/+QzviAG+FHxaWxezj\r\n62v+HNJj4bumtouabImupyAKpee9cjLwlppf2XND8My/WiywNhBIBcZRbsCi\r\nbc0dawm9eDurxThl/CUtgILxbWJyj1DPFhsunMq9kkCvHkfbMr++F6+y/cvB\r\n/siyoRXwohQsISIyXUJUq0OrNhpQl2BqCvDQ97YhAGCaBkLg2E2q3fdkw61N\r\nkKRuJEo9W/bqZ/nU8fu0sAo8z+wLdpYq+fcHREmKYQXxnNt85arN8qLqyx8i\r\neaTkuo4lZDv7+NqvmS+wfEL9FksjbxWLimfAL7MFooBfAv1HFMqjJAu1XKI1\r\nneK/3eGfiC2G55PRnaDolNd7ZUoILx6E/YkIFX8yqKNnYVGoTwBc3puiaBhL\r\n5d2ZIOYpn6+8rk+FMoMjKF3tDpoXBUfJ7saIhJeugniPpsBOTHTespXhl1EM\r\nwhlat9gurLmxW++w/VLWR3qTg7iX8xddSGGaxG9oiYx0qVg9mkdntJTFLqCG\r\nM1pzPJ1+fcsfAp3r2h3wBdEOWPdQbxvOv40=\r\n=XRg2\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.46_1666129425026_0.13057030560414717","host":"s3://npm-registry-packages"},"_id":"xterm-headless@5.1.0-beta.46","version":"5.1.0-beta.46"}