{"bugs":{"url":"https://github.com/xtermjs/xterm.js/issues"},"dist":{"shasum":"f6cd951361590bf9e9da97706d77b81a1ad709e7","tarball":"https://registry.npmjs.org/xterm-headless/-/xterm-headless-5.1.0-beta.28.tgz","fileCount":5,"integrity":"sha512-yH7cRkaG3r/DMme0MTF5GbFGqISdTKaEqjHgz2lS9+OkR5NoFyIQt/pRuZED9oGc46FYMr59QzTpLQSMA2CLfQ==","signatures":[{"sig":"MEQCIG3RuGpEoi+qauSOCCzKCFPGssyFdEZBhQFTlS+oYjR7AiBrpd8iXz2El+cn/Z0dVsSOEfLMwGwI9c1y5z2n7SBKSg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":763397,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQJ14ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrsrA/+MYxWWXN/rT1V2K+rgV/pUHRgD4jbrAF35fd7pYgalNhBHrkD\r\nuU5px92THOy8YNm4v2z1eOm1hHfAzGJEg7P9RQN/x98BgTJg/YpvymvmSkLM\r\nuM6zHnymVPo8GtGqRitdsLXecSPOpT6HvPagdfMJqA7v443hdgGcAjPJsMYs\r\n+CKjQUk2zQChY2K8h6GpiS7JG3ZrTU7FiiMWK0zX7s9LihMPu97fhDo5wBud\r\nO2xJEJCDCh3YG1yJKcntxiXDWqJrwlehZXmFGfqw3EcNRFelbGKxokngA1eL\r\nV2Sy4iuX3jMz71BuorRE5itxtGXX1zIfjjaTzrIQ2Ja0OjCz5JbykfqkPA04\r\n344dAvKeNFp8Xh22fKO6NA5jOjo1/dv1zbiHeAV5fmz2hC6y876bPpRQOM9b\r\nbi/fcTfKf2kktXeBbd6db7YNP8Y+KmXYcuUrleWwcgn46hVS3lMTonrT+/c6\r\nWvuA8Lx0qJmaUCmUdXFnveT+tcSzwCIxgW8tyXW6wwSSwSQwgNgo+y/2MYJt\r\nMuuD/kUnOfcgxmgaBIz7kY4AK5Kq4+Snj8Q06/FAIG2vSGPzBMVn+60USJcc\r\nXanawytmzmQ3JStmt7tr1rxjTG5QarUXwhjlq2D2TMPvh3D49BQioUxoWdfQ\r\ncZ50dZM2O+D0kqIuRP1xuyx72kpezakE12c=\r\n=eHWG\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.28_1665179000226_0.5373114081537338","host":"s3://npm-registry-packages"},"_id":"xterm-headless@5.1.0-beta.28","version":"5.1.0-beta.28"}