{"bugs":{"url":"https://github.com/xtermjs/xterm.js/issues"},"dist":{"shasum":"6083fdbcf6357756be0f21336cb99dae6fc81ed1","tarball":"https://registry.npmjs.org/xterm-headless/-/xterm-headless-4.18.0-beta.4.tgz","fileCount":5,"integrity":"sha512-0wOzTHltRBZxYjvAGTsFthNS08hEZBdxDPnFMRSP3RgPEwUB/6nlK2q4/RKyWkLYm4XPuKKk8lrSE43awm/7WA==","signatures":[{"sig":"MEUCIQDmhcRsH2XkqlmBmoHSrJeMdZBnTSn3F739sNfNwxfWkQIgR3etudIP2AHGz/pr0Tj0RrUx9LEvkyaquK2j/lwfKHE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":768026,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBG2bCRA9TVsSAnZWagAARJgQAITk4iWedN/n31ITgcwb\nbJecDTFITqGoamRXVyJWjJdUzyBvpcCRGsqhFXJhk45M8vovXmMBDPK+MHNl\nU3bOzHoztcZjg0uno0/9eC0qEIpbV82ApNKP7khthcz+x1wYcr3L0KXIO225\njyquE7TInnyWFU3aCJ+zmxjYbypJHHaYNZVC0sNm0emYBCCqA0nGqzb+yEqL\nGAys2eXgD/+HPBNsNn8fhdhdaY3uaEiEEet3J52z0NDJZhjNAoE9ILilYE/n\nC3ZT6vSjJAmogvUNW6IPYeS5TNJs/ep9mAYqFhEEgBy0DB9ljO5MNw1PwQ2z\n987e6Tts4vTW8pWJUi041P5yr0lZvc/yFKigL4c5tl12LiEfiEZ3b699lq9j\nt7fdgQvdq3b4VpScTaEaDzjQDsY6zglhkZAHP8LVAu6/z66+MICjt91ADrBC\nGjXcgX0Z4AQBDL9qm/fXOJ6XgyHODJj5Tzqf+afZ5BLxY5n75BTkLc5NjT94\nhwrbtQcm3dcUvFN7mMUQ5EkpjH3eVBduL46EOkf7WlokKr5lvz8CypLN0hD7\n9lz5IsuAfRCVNbpQgmo601wB8J8TRMle8A4sYDTeUQjkOyjxrgxZAODprvLX\nqCWrHTmZw2dKJv/CxmiSWHqCj2nGQMUIeDnQCsR1f9o/BPtv+INKEJ3fWrzg\no52z\r\n=wHBV\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.15","description":"A headless terminal component that runs in Node.js","directories":{},"maintainers":[{"name":"tyriar","email":"tyriar@tyriar.com"}],"_nodeVersion":"14.18.3","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/xterm-headless_4.18.0-beta.4_1644457371647_0.09692506336241657","host":"s3://npm-registry-packages"},"_id":"xterm-headless@4.18.0-beta.4","version":"4.18.0-beta.4"}