{"bugs":{"url":"https://github.com/xtermjs/xterm.js/issues"},"dist":{"shasum":"c178b6c9a10052c0e6905526510f122373b9063b","tarball":"https://registry.npmjs.org/xterm-headless/-/xterm-headless-5.2.0-beta.11.tgz","fileCount":5,"integrity":"sha512-knD3eo9lbTaSuXIslfi5fkv/EPUtinv9wAkJMtCctGlDZpDPk5zugzk/+g/4lPmvVm6sCS9iA67a06M536VwHg==","signatures":[{"sig":"MEYCIQDoYWshiwzd7PmsZ+F0KJHPnWPPs+s9453V2M5QmJe3uQIhAMm/geVBb+IVk9TLPiFli6cV1YLcZNQZD02FCbc+26Mm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":774102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjrGDTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8Eg/+NY5RCPVszIfQA7T/WiUueUnHO9bJSP9dWTcbbWAqW4G6jfbz\r\n5oNn/Ay8vg2/FDv4O8Uz3Taze3rTEfiuYFeaJAEg741Yy8DA5r05jn1QEBXP\r\noEyNYD70Qms0CTtuyJOFLWW6wr8xG1FuA2L9jrz3nFVkI7mBUJCFhRiobP0L\r\n9aAeDKD0cYglNfNKRul5A8sairxWzO85BGW1D7jotRaNxt7m1kw5frUuIqlX\r\nL4k4L5wVybzQPNG7QC2e9zKtwMBgOK5CkF8FW7XBHSJLMdTq5/ENP172pdQ8\r\nMyikK9IURhcW3YBMXkWgrO/66LgcHf02995S4hJMt8R7ZAuJjf4S+peikQaf\r\nsR17cjDMuHRYoPEBY7+o85iGdW8HKWgIHkEVVCaRBpgzuI25L6Pb9xX9nWVH\r\nM9GEYVDBCDRL4DjnyqXLieQWxVpdT79X1WZ08cQ+M8/hoJoLrx/GtxOl65N6\r\n9KQMC6zn7PjcqZ0HGxIa7w0ejmZyJ/o8P0risfwVP45Yp8D34bIGyAVfJI/m\r\n4ZEsrkIFi8/c+wNkNmXE3zxyXtrQzQL2dNA5FmjoUl5wgV+e0dKf44bVF+/L\r\n2ZyXHz64n4TUhLE9xWa8hV0Bb5Wmemvr5D+9nG05rAEzteqt+51lRNZKC8Du\r\nHV6XWcSSCcXhWQEkOZQiqTHdW6C4ML34w58=\r\n=JD7o\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.21.1","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/xterm-headless_5.2.0-beta.11_1672241363654_0.30865410977261387","host":"s3://npm-registry-packages"},"_id":"xterm-headless@5.2.0-beta.11","version":"5.2.0-beta.11"}