{"bugs":{"url":"https://github.com/xtermjs/xterm.js/issues"},"dist":{"shasum":"31abe8053462451b0603e252afdb328bcbb0e674","tarball":"https://registry.npmjs.org/xterm-headless/-/xterm-headless-4.18.0-beta.5.tgz","fileCount":5,"integrity":"sha512-Whf53jmnA8QbuceNieR6dGtvqresnInxLyaFaGHRWwizbjF7OmTN/r0hFxH4ul8codmK+GAZ+GnM1OCyJ0aFfg==","signatures":[{"sig":"MEUCIQCqpS27AMHhm7wCKZ+bdsgmC0ceucC1LvHKcfzXdYuqGQIge/ICsUVp6cEOQwu4UnFDwiqXy4/eblwBGaqejhAEcBk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":768147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBvGnCRA9TVsSAnZWagAARo0P/0Gx6gHegqYZ3LtZddq/\nsh5LMOUH1VQ35zL6otoVWNL5NrvBAvWRzpy1Sa+KJaHDwFx5G9UpCzCa30Bm\nhMkSXLpSFqT6LiKPLyjmaGtU1bK9ydf0J7ULiPl4nsEuvN9Mi+8lDyDGQXyf\nuRHWyixujQAZqxIrOUryeZosQahHzPy8Ni0TInon/9gTIY95gmQ4XZeKmHXN\nSBqtZyB/LR6DNI7dYrLqSdfRNKXn9rmlWTu6P+0Kb5IAt05gmUrsqU/m8GQc\nKKP1OSBZC0ag1pzugv6feXeIL7dtSCuVvFuX9VJBx6DBpf4egVWCou6n7XLx\nYZQhlt/JYr4ciBZJl6jFXqvnyedcHrZWVjW3G/wTlGaSToBSRsbmyAko+ZUj\nVFr1zjbvx4klHfwhIwYDeEM4b+bDYtvl6tTbU6VJsHs1xr2LsGhjw5WA+lIx\niLT/fw2YDTwRmS+mIb0N8oZHg6+7hN1KBR0NUm6FcjyloDGWI1JcEbmFhaqe\n6YSX6larfMAcBjlVvmzsz96BuZnFiCeno02gkYPex36LOCxC3+qEByUZurt1\nw6b4s//TJaHh4HStK8CuKU3nQlGyZRM7g+W/r44xwGyBtQuRzjyTYpwRrusB\nm0QFuRZzw8iSBKFWfoUnwvSLolqBfZ7k10KAIoZEiDUC1HYdOv7ZWaEbOiaq\n4qha\r\n=1CVX\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.16","description":"A headless terminal component that runs in Node.js","directories":{},"maintainers":[{"name":"tyriar","email":"tyriar@tyriar.com"}],"_nodeVersion":"14.19.0","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/xterm-headless_4.18.0-beta.5_1644622247536_0.9134677748852869","host":"s3://npm-registry-packages"},"_id":"xterm-headless@4.18.0-beta.5","version":"4.18.0-beta.5"}