{"_id":"term.js","_rev":"18-1d4cd921372f841024dd138cf3aeaaf9","name":"term.js","description":"A terminal written in javascript","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.1":{"name":"term.js","description":"A terminal written in javascript","author":{"name":"Christopher Jeffrey"},"version":"0.0.1","main":"./index.js","preferGlobal":false,"repository":{"type":"git","url":"git://github.com/chjj/term.js.git"},"homepage":"https://github.com/chjj/term.js","bugs":{"url":"https://github.com/chjj/term.js/issues"},"keywords":["tty","terminal","term"],"tags":["tty","terminal","term"],"engines":{"node":">= 0.8.0"},"devDependencies":{"express":"3.1.0","socket.io":"0.9.13","pty.js":"0.2.3"},"_id":"term.js@0.0.1","dist":{"shasum":"6b56bc5088801bdc6a689726d1e86b6951cd2a74","tarball":"https://registry.npmjs.org/term.js/-/term.js-0.0.1.tgz","integrity":"sha512-OVJhUhtvg09Y2SAy9myC03CKT7Y2BBsTn4hQ3wXxUwSLqmGj+n2jVyjjTQoIdkhNvFAMqsfzN/dmJ9q3a+89MQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWu9acIZQ7PlAf9pJpe0B56mhF7s5Fp5dz5ur+LshzCQIhAK3MvyGYrRdst7R5BS0qM1+HlVxTrG9r2YZxA2lqs6hD"}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"chjj","email":"chjjeffrey@gmail.com"},"maintainers":[{"name":"chjj","email":"chjjeffrey@gmail.com"}]},"0.0.2":{"name":"term.js","description":"A terminal written in javascript","author":{"name":"Christopher Jeffrey"},"version":"0.0.2","main":"./index.js","preferGlobal":false,"repository":{"type":"git","url":"git://github.com/chjj/term.js.git"},"homepage":"https://github.com/chjj/term.js","bugs":{"url":"https://github.com/chjj/term.js/issues"},"keywords":["tty","terminal","term"],"tags":["tty","terminal","term"],"engines":{"node":">= 0.8.0"},"devDependencies":{"express":"3.1.0","socket.io":"0.9.13","pty.js":"0.2.3"},"_id":"term.js@0.0.2","dist":{"shasum":"79023f15e6b193dc762d6d324e45a13e496e6579","tarball":"https://registry.npmjs.org/term.js/-/term.js-0.0.2.tgz","integrity":"sha512-vmVDeEzhlcvKixaKS29sORN6gtU01R0PhoJtdx/xTi7VUS/HI5/sslj4OOfMCKgr3rd3aWLbHl3IrwPsa7VOpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICR38sKY4LlSltOcPD+E9ABP5JG4lK3Enj1jqWSgSU6UAiEA+WFFbvI8YwzC/FKRgEgQsMOibpVVg2jkZ+B5AIWcMqw="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"chjj","email":"chjjeffrey@gmail.com"},"maintainers":[{"name":"chjj","email":"chjjeffrey@gmail.com"}]},"0.0.3":{"name":"term.js","description":"A terminal written in javascript","author":{"name":"Christopher Jeffrey"},"version":"0.0.3","main":"./index.js","preferGlobal":false,"repository":{"type":"git","url":"git://github.com/chjj/term.js.git"},"homepage":"https://github.com/chjj/term.js","bugs":{"url":"https://github.com/chjj/term.js/issues"},"keywords":["tty","terminal","term","xterm"],"tags":["tty","terminal","term","xterm"],"engines":{"node":">= 0.8.0"},"devDependencies":{"express":"3.1.0","socket.io":"0.9.13","pty.js":"0.2.3"},"_id":"term.js@0.0.3","dist":{"shasum":"659dd21e05b8e42776faab620388e4bd22075657","tarball":"https://registry.npmjs.org/term.js/-/term.js-0.0.3.tgz","integrity":"sha512-wYEI77yjixbJumNrJXccBbm4aw5Wgsx6dPmyI9iwOg1SC3WD/MJSPoh8gZCz1B4zmjupVbE9ebNxOqS/LQElvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6bMrufeWhstf0vxnKg2ALY39y6cL5uptxziKx85cLrAIhAMIN2HpQ8/o4wrbmt+tNdCCj10Amiaav+pCp6oNwg4EP"}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"chjj","email":"chjjeffrey@gmail.com"},"maintainers":[{"name":"chjj","email":"chjjeffrey@gmail.com"}]},"0.0.4":{"name":"term.js","description":"A terminal written in javascript","author":{"name":"Christopher Jeffrey"},"version":"0.0.4","main":"./index.js","preferGlobal":false,"repository":{"type":"git","url":"git://github.com/chjj/term.js.git"},"homepage":"https://github.com/chjj/term.js","bugs":{"url":"https://github.com/chjj/term.js/issues"},"keywords":["tty","terminal","term","xterm"],"tags":["tty","terminal","term","xterm"],"engines":{"node":">= 0.8.0"},"devDependencies":{"express":"3.1.0","socket.io":"0.9.13","pty.js":"0.2.4"},"_id":"term.js@0.0.4","dist":{"shasum":"20494d86dfd35e0249d76cd8325c1e0f06c0ef3e","tarball":"https://registry.npmjs.org/term.js/-/term.js-0.0.4.tgz","integrity":"sha512-DVnKtv+gKaRaV5vqouT/88wIEz2MMkq+RXAwzMJ1UxN5BfQelY9dleCYx3Mxe2xrui3qiQKGZYgvxkoIRlpf1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBmfJbv1VLTsDLW2k9M8PmXb7pkiq/Bz0xw4QrHrAr0cAiAwFDPVyL49JpEUYgOIhx3zzjRASyMS9GotcBaHKCx39A=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"chjj","email":"chjjeffrey@gmail.com"},"maintainers":[{"name":"chjj","email":"chjjeffrey@gmail.com"}]},"0.0.5":{"name":"term.js","description":"A terminal written in javascript","author":{"name":"Christopher Jeffrey"},"version":"0.0.5","main":"./index.js","preferGlobal":false,"repository":{"type":"git","url":"git://github.com/chjj/term.js.git"},"homepage":"https://github.com/chjj/term.js","bugs":{"url":"https://github.com/chjj/term.js/issues"},"keywords":["tty","terminal","term","xterm"],"tags":["tty","terminal","term","xterm"],"engines":{"node":">= 0.8.0"},"devDependencies":{"express":"3.1.0","socket.io":"0.9.13","pty.js":"0.2.4"},"gitHead":"d161794e49360fb472946f95c9bdecf592fafffb","_id":"term.js@0.0.5","scripts":{},"_shasum":"aeb077173ce5efa58d0d4e31c3b87d44f042963e","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.5","_npmUser":{"name":"chjj","email":"chjjeffrey@gmail.com"},"maintainers":[{"name":"chjj","email":"chjjeffrey@gmail.com"}],"dist":{"shasum":"aeb077173ce5efa58d0d4e31c3b87d44f042963e","tarball":"https://registry.npmjs.org/term.js/-/term.js-0.0.5.tgz","integrity":"sha512-J8yuGgd2UYUkYctYgS50UwutkVhN8Y41nm0D9AL2T9lvZt+nH5czK16KW92dHFs5zkPxELmTIP+LyiRfTrioNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGh0djOR4lEswLQ/20Ff8kMPresm5iEvJO2Ene7cTfbFAiBOup7HLbU6AsPk+YMwc4ApOE6rSX9lrkUdm7XT3ij6YQ=="}]}},"0.0.6":{"name":"term.js","description":"A terminal written in javascript","author":{"name":"Christopher Jeffrey"},"version":"0.0.6","license":"MIT","main":"./index.js","preferGlobal":false,"repository":{"type":"git","url":"git://github.com/chjj/term.js.git"},"homepage":"https://github.com/chjj/term.js","bugs":{"url":"https://github.com/chjj/term.js/issues"},"keywords":["tty","terminal","term","xterm"],"tags":["tty","terminal","term","xterm"],"engines":{"node":">= 0.8.0"},"devDependencies":{"express":"3.1.0","socket.io":"0.9.13","pty.js":">= 0.2.13"},"gitHead":"0856c0382a19bdc0873da9efa958b76f76cd21c1","_id":"term.js@0.0.6","scripts":{},"_shasum":"6c5d0410548b6bdf116733b5b973116bfb418801","_from":".","_npmVersion":"2.13.2","_nodeVersion":"0.12.7","_npmUser":{"name":"chjj","email":"chjjeffrey@gmail.com"},"maintainers":[{"name":"chjj","email":"chjjeffrey@gmail.com"}],"dist":{"shasum":"6c5d0410548b6bdf116733b5b973116bfb418801","tarball":"https://registry.npmjs.org/term.js/-/term.js-0.0.6.tgz","integrity":"sha512-VdTxTCXJ+VspSVkdur0USTIet/5qkGfWDBTibGO71YqJ+HRlFPltfub5Kd4BNEcU/ESsZtyjldB6Rj5AQO1hnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCf46kCN7Y/5uTF+aSli3VA8O2a29uExr1r826NTz0KNwIgcKfpiWu6VllXGl9AoexMIoIW0RShjzPPbW7VmxI+9IE="}]}},"0.0.7":{"name":"term.js","description":"A terminal written in javascript","author":{"name":"Christopher Jeffrey"},"version":"0.0.7","license":"MIT","main":"./index.js","preferGlobal":false,"repository":{"type":"git","url":"git://github.com/chjj/term.js.git"},"homepage":"https://github.com/chjj/term.js","bugs":{"url":"https://github.com/chjj/term.js/issues"},"keywords":["tty","terminal","term","xterm"],"tags":["tty","terminal","term","xterm"],"engines":{"node":">= 0.8.0"},"devDependencies":{"express":"3.1.0","socket.io":"0.9.13","pty.js":">= 0.2.13"},"gitHead":"6fa19452ce526bf0df0fb766891ccb6e0d61f4f6","_id":"term.js@0.0.7","scripts":{},"_shasum":"526f24cfc0f2ef6f80f517c9e27dae947bc87315","_from":".","_npmVersion":"2.14.0","_nodeVersion":"0.12.7","_npmUser":{"name":"chjj","email":"chjjeffrey@gmail.com"},"maintainers":[{"name":"chjj","email":"chjjeffrey@gmail.com"}],"dist":{"shasum":"526f24cfc0f2ef6f80f517c9e27dae947bc87315","tarball":"https://registry.npmjs.org/term.js/-/term.js-0.0.7.tgz","integrity":"sha512-c65+7Z/51TDl/owjT2BrPHhMtJu5MjcvPWTC2oAV/ybzuwUCuj5/OQ08urfEHkQpfphyXs/zZRCjZfnSC3bntA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYh3YoxeAf2jnBpjOOf8c35HI3cDD5kqfE+E48bSgBKQIgZNgaHreZu72DWblJUHcT9jTW8ANIkc3ctCim5is8yyw="}]}}},"readme":"# term.js\n\nA full xterm clone written in javascript. Used by\n[**tty.js**](https://github.com/chjj/tty.js).\n\n## Example\n\nServer:\n\n``` js\nvar term = require('term.js');\napp.use(term.middleware());\n...\n```\n\nClient:\n\n``` js\nwindow.addEventListener('load', function() {\n  var socket = io.connect();\n  socket.on('connect', function() {\n    var term = new Terminal({\n      cols: 80,\n      rows: 24,\n      screenKeys: true\n    });\n\n    term.on('data', function(data) {\n      socket.emit('data', data);\n    });\n\n    term.on('title', function(title) {\n      document.title = title;\n    });\n\n    term.open(document.body);\n\n    term.write('\\x1b[31mWelcome to term.js!\\x1b[m\\r\\n');\n\n    socket.on('data', function(data) {\n      term.write(data);\n    });\n\n    socket.on('disconnect', function() {\n      term.destroy();\n    });\n  });\n}, false);\n```\n\n## Tmux-like\n\nWhile term.js has always supported copy/paste using the mouse, it now also\nsupports several keyboard based solutions for copy/paste.\n\nterm.js includes a tmux-like selection mode (enabled with the `screenKeys`\noption) which makes copy and paste very simple. `Ctrl-A` enters `prefix` mode,\nfrom here you can type `Ctrl-V` to paste. Press `[` in prefix mode to enter\nselection mode. To select text press `v` (or `space`) to enter visual mode, use\n`hjkl` to navigate and create a selection, and press `Ctrl-C` to copy.\n\n`Ctrl-C` (in visual mode) and `Ctrl-V` (in prefix mode) should work in any OS\nfor copy and paste. `y` (in visual mode) will work for copying only on X11\nsystems. It will copy to the primary selection.\n\nNote: `Ctrl-C` will also work in prefix mode for the regular OS/browser\nselection. If you want to select text with your mouse and copy it to the\nclipboard, simply select the text and type `Ctrl-A + Ctrl-C`, and\n`Ctrl-A + Ctrl-V` to paste it.\n\nFor mac users: consider `Ctrl` to be `Command/Apple` above.\n\n## Contribution and License Agreement\n\nIf you contribute code to this project, you are implicitly allowing your code\nto be distributed under the MIT license. You are also implicitly verifying that\nall code is your original work. `</legalese>`\n\n## License\n\nCopyright (c) 2012-2013, Christopher Jeffrey (MIT License)\n","maintainers":[{"name":"chjj","email":"chjjeffrey@gmail.com"}],"time":{"modified":"2022-06-27T04:49:28.365Z","created":"2013-08-08T14:31:06.656Z","0.0.1":"2013-08-08T14:31:07.899Z","0.0.2":"2013-08-08T15:46:10.360Z","0.0.3":"2013-08-25T04:48:54.727Z","0.0.4":"2014-04-02T06:29:11.869Z","0.0.5":"2015-07-07T01:37:38.755Z","0.0.6":"2015-08-11T07:10:22.318Z","0.0.7":"2015-08-24T10:50:44.029Z"},"author":{"name":"Christopher Jeffrey"},"repository":{"type":"git","url":"git://github.com/chjj/term.js.git"},"homepage":"https://github.com/chjj/term.js","keywords":["tty","terminal","term","xterm"],"bugs":{"url":"https://github.com/chjj/term.js/issues"},"readmeFilename":"README.md","users":{"maschs":true,"sahilsk":true,"northsun":true,"yxz_blue":true},"license":"MIT"}