{"bugs":{"url":"https://github.com/xtermjs/xterm.js/issues"},"dist":{"shasum":"d0631f9cc46195f22017bb1e0a8fa7e3f08a9e30","tarball":"https://registry.npmjs.org/xterm-headless/-/xterm-headless-4.20.0-beta.10.tgz","fileCount":5,"integrity":"sha512-zGU2ARflqgH4gwhxryq+HLHa2xbDuvtlWHP2DrMe88C0Y09Sv4a7x0TohH46CMku7CIY+jrt0OuC2mQNsnBA6w==","signatures":[{"sig":"MEQCIE/kEWe27ysjZwgmcVbXV2eTGeUxmCT6pjnr6tvv1OYAAiBR0HaADxyc97N7i9yx4CvDKx64q9n92JBhgavZCcUnFA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":777375,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizHMTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpfMg/9GqW1KKZ65OvM7Pb7cVJzv6xjdJCAsxT6yeDRSkysoElYkrjq\r\ndQwVenx/tmGFm9uJ8a2TAkHD6nhBMQnZ8iiH+LACKYlHwd9Ma+JDvylksla5\r\nZuCFQNyFB8uci/8+wzWbKTbhfewg4ktXtdjlFkrEbwBnE3NXmKToIhHvghZD\r\nbzkW83TuN85Re3kLLb7M3biEihHuJ21uvwaxnV+1cYiomUFSEjf0CksZ2ThS\r\n3ZP5/kgavWNkxB3k15/OqMjWJ5bUWH+MDucon9XOEhbtr+B0DPVbOGx+LANR\r\nqqD7s+v4sIFRsTD0aGrN63LjG/jzNNwfqxLR9e1Tu9ZWdxatsZ9g56VjeP6g\r\n9DSR+AnDvdYW+X1Yn9cBh0moW6LO1C9700OE2UIlp6n7UvmhDKmPazcAH19b\r\nG3zsp8W0QUHwfX7Fw4O6x5mevpr2d8fU0TokruEz0cg0ssVCwujikqMUSr5b\r\nrcIcwVv0qK/HlerqpZkJ1cNC6Kq2UvCPFK8zDfoMaEUezqzPV7iZJJ9tp6NY\r\nUeJsD7ZrzA+qF2oWdzrtwZ89xCSWdXUMozsU68Lduw+viGkF5vX0o8JWbkVG\r\nOCGDbPZnrudPXY4BLCubaprxPDgfN8ykQSSSEEVngDfzhu5F1wYRmudltsww\r\nAVYZ/6k2YIPbmAKxkOglwBcOgBTCYMYtiUc=\r\n=ksNa\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_4.20.0-beta.10_1657565971043_0.8197531057341187","host":"s3://npm-registry-packages"},"_id":"xterm-headless@4.20.0-beta.10","version":"4.20.0-beta.10"}