{"bugs":{"url":"https://github.com/xtermjs/xterm.js/issues"},"dist":{"shasum":"e7d6bbdfd6ecfa0f2b557276e40a8740c4d1511c","tarball":"https://registry.npmjs.org/xterm-headless/-/xterm-headless-5.1.0-beta.26.tgz","fileCount":5,"integrity":"sha512-P7V4gLebQCC7K+8j/asRASfBRpwz1BLmWTyvRxYRJnDQlbGY72wU8YxhD8eTW37zj1FokzMBgpVZZeZMKkB0tg==","signatures":[{"sig":"MEQCIFmJ/lua1I3ZXeaT6COTKdCX4OB5jEBet3Yvf/MVuWnFAiAshKrayyV2cJtc+OuNvxvbx81gswvpyGWog9p8N/ciwQ==","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\nwsFzBAEBCAAGBQJjPxS3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqIUhAAgZ4edM7TvXCPh6Xiv8LgEqolS55pT3HfU0ZH3j7XBe774GZA\r\ntnjxuHapsEQpOCFaWEEv6m15kUM8g28iL+Ra1JXhz+fzC/2s55YA5WR6zOv1\r\nCIHukL6Xcch4t0wxS8FAKEq+Eud4sNq1oGuDdd97o+7/3b8oHQn6hvDXu/oj\r\nEloDjci10RSNFneCtvBhO0USlZN8EYikA9ekKmjQNyp2y3tj01wg4Ak7nKqF\r\nadngQC+kRWIzD1fbuFjrVhSGpl+bHBCmfkaZIAG4xuWfn8JLfgRPJ0Q8mkBy\r\n5UZVsKbJb4l5UCZpCjM2dfmxp/yqkoJb7Wd02Yb7Q4Fx0FuUx/USU6mb7XVO\r\nryMGL7F9821ak2nIZmvNRNuc/cwqxKxRfxUOYcoPWoIwbzc94riE+VePCA5L\r\nHh28EllqhFQtdlAvxKWjPn4tJB1CgBlzkTL7sN1jYNE5xW/T4zzcmvvQxxv1\r\npMDrGdFxp4HxhKEFrgwkG425WHhSh9fS3hvvwcjqnqWCDGq89aiZl7rTOI2+\r\nOJGNgKcdKIyfSiNJVZhQ1wKiP3zulPMmBjOnAicupOqj5xAOuQIDAzf3b8YQ\r\nPx2S6jHgjlt1GPWDICIFImfSHtSrBNErjqjSw9uvJn1A40wIhySsBJjEzgxe\r\nDHa0/I5UhWDJRJQ7aHl+MP7FW51Q5OZ8Llk=\r\n=q333\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.26_1665078455659_0.05769428532097365","host":"s3://npm-registry-packages"},"_id":"xterm-headless@5.1.0-beta.26","version":"5.1.0-beta.26"}