{"bugs":{"url":"https://github.com/xtermjs/xterm.js/issues"},"dist":{"shasum":"badec2e97e47aa44267a4de2c1b42b4d23ad49a2","tarball":"https://registry.npmjs.org/xterm-headless/-/xterm-headless-5.1.0-beta.1.tgz","fileCount":5,"integrity":"sha512-V3G7l4pN6/HW//vKXryOCdDXVKdrQTQmtHEqkZ8waD68cJdeMdIoGYJuzavd5rHpxCqm/KR5O8ztI41jridong==","signatures":[{"sig":"MEUCIDLzRwHUeNY22FvhfLlS5yxiz8MzMaBbs/LAAlStx1F2AiEAsM1F8++ZcRpAhBOFV3FCVNFb3kBRzthHs7qONNyg5TA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":764885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjI4dXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrAUQ/9HoD8ww327peTc9/GQupxeKrzuGeG5foBdFN+zBspDjJ04dR5\r\nkqH/aZXmMbDuG8eVF1XjqhHmIUy1hD0xJ+odQRWa50ubAJ1/HsIpJF+4Wx2a\r\nj0NW2jQaFRZVND+lpkP0z5mU4SDPADRHz2r3sWpZdUV+pmxd2xumvocc6nLj\r\nhoc95+F0xqGooeFuev3kFmRPnYiCBbJfRCJ1Qu7LB+TrefXsiHbDM2ks+gM8\r\nUajqmrtoHzhkqh+6LDqylotzvOZueT9n0qRmVqu3oMwLtXbUWOqQVAhLF9Wz\r\nZ9LHZCQhBrtdMw8QL12s2M4G+Bl4vgs/88RU7xhaIrLzvUgil67IJN9Tk7NG\r\nFl1Lf4ahEatPmk6AfTbUCStw7GDAUAvd1guebhjYYH6b1nL9e/VSNWlSCatG\r\nb/dk2vsPTU/cVKPUcl3MdF3jLGsZlDqhuF99cVZXi7Iu4OXNeCwSYnHEEAeI\r\nG2lAYAFBWoOCC27rPzO3BjriT6puNAoI9rZzhtWIYn6DotvnsfnoC+mCF7Ff\r\ncLB+YECdWQvxOtHzeZCcLd3ClVmYxJXMIoDNlaSuYudHMFNBkt/VLsBecGPp\r\nJoSXs5OpxVdmrJ1FaERIkph5bJEku6Ym+BsbBkO1iXkyK/aWppC4epHFCo1M\r\nU0r77JUGgzAsGXpskHmXdaRNiXXFYX61Mp4=\r\n=XB/O\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_5.1.0-beta.1_1663272791297_0.3019474415529506","host":"s3://npm-registry-packages"},"_id":"xterm-headless@5.1.0-beta.1","version":"5.1.0-beta.1"}