{"bugs":{"url":"https://github.com/xtermjs/xterm.js/issues"},"dist":{"shasum":"64677d6adf1a68d15dd21e3d18659cb70b3c7aff","tarball":"https://registry.npmjs.org/xterm-headless/-/xterm-headless-4.20.0-beta.21.tgz","fileCount":5,"integrity":"sha512-9Yc6sFDpemyrWIJ4Ww44TOHtei34J+IWDFiBqq4qfyjnb2sqWgZy2jiOTSGysqpgepML7uthXhVmK3d12218Fw==","signatures":[{"sig":"MEUCIQCgvX7yjMrEdYZDBvwE65hWwgZn27SxjWbY5OxXI2dY3wIgIA+XwxI1xrOX01QNqKIMdcbQszAyEhCGMmcRiy3VXx0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":781430,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3euqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpU4w//clam/QIfa1J/P47zxN/+9Xpt0q8Au1wGFIX1XC7nmyqxS7rd\r\nEHfMEEBp5RkMkpCnSA+rdoogzZsI+Mu9iIp/Op0c8E18Jjw3Kp4uTR5UbJd+\r\nGOd/4K2hSmgh30csWNe9VpfiGD1Ix0muk7RkZzrS0I/GdxarkGEGRNpne+fQ\r\nXWur4BbriT2rBIKazHb2Fmw5yeHBqD5dEY1m8mfIveLL7G0H8fWrDzhAnVk8\r\nnDzvQYSzQk/VwVegkZzZvkBExWJLK6bcBvNgY/3Ziz8Z4Im1PFx+h/my3fuR\r\n7zHDBW0YJBpnA3Dw7RtfMOqjmPKc8G7n/vVDN+TX35mCmzCT+tni3gwI7nDc\r\n8A6CMR8IXjzMN8AQdVkWqvVsY7p7RemZNkbGsf7PdxShlSCaie642ZfLcJhA\r\nUHM/lAz/LRT0I9TWdytGKthm7oaoUr9mqin2iQ2ni5r3N5oyJFFZv69uBQyS\r\nZHcWnDNleHTYhTfTPR71Zi9iOnwf5GNnV33JYoj7xR1s1mD5GnYbHyKkRtmJ\r\nLizFFSDz7eLkjorU/2xVujKcEBoNn4M+Pxci6AI/BplR/RO12vZKnxLGIR+D\r\nxFVXRqtvXtXM3iC1wfwSY32+cxgrr3ccZ0F9c2KVdXdeXSyBFXh0UdAkDGa1\r\nLmcVlYpbq7SoqkBDtu+UeBz+0u8CsLoX/7Y=\r\n=vR/x\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.0","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/xterm-headless_4.20.0-beta.21_1658710954100_0.8020078423223342","host":"s3://npm-registry-packages"},"_id":"xterm-headless@4.20.0-beta.21","version":"4.20.0-beta.21"}