{"_id":"@caarlos0/ttop","_rev":"3-04584acb15c3b4f3a47aa98f66efb26f","name":"@caarlos0/ttop","dist-tags":{"latest":"0.2.0"},"versions":{"0.0.1":{"name":"@caarlos0/ttop","version":"0.0.1","author":"","license":"ISC","_id":"@caarlos0/ttop@0.0.1","maintainers":[{"name":"caarlos0","email":"caarlos0@gmail.com"}],"dist":{"shasum":"f9eedd98ec1e2cf1722de9dc7405864247470e34","tarball":"https://registry.npmjs.org/@caarlos0/ttop/-/ttop-0.0.1.tgz","fileCount":1,"integrity":"sha512-fpdGfAc3DkhdUkbIMkL/O+uyOTtkv0D3+5eiVp4QJDj5nArXH7zGo66C69XVtjNgjiHwEpY4Sqkcb/lAtlptRA==","signatures":[{"sig":"MEYCIQDCh0fmGDuCB3Jd+ZPrlSrndT92SmYexMGO2LCZ0iYDlgIhANVjVqvrHfF3EHSVtum6mYL3KUlwRWvmKhSP0hX+Fhid","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":232},"main":"index.js","type":"commonjs","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"caarlos0","email":"caarlos0@gmail.com"},"_npmVersion":"11.16.0","description":"","directories":{},"_nodeVersion":"26.3.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ttop_0.0.1_1782438600687_0.6759280350501864","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@caarlos0/ttop","version":"0.1.0","keywords":["tmux","process","top","htop","tui","cli"],"author":{"name":"Carlos Alexandro Becker","email":"carlos@becker.software"},"license":"MIT","_id":"@caarlos0/ttop@0.1.0","maintainers":[{"name":"caarlos0","email":"caarlos0@gmail.com"}],"homepage":"https://github.com/caarlos0/ttop","bugs":{"url":"https://github.com/caarlos0/ttop/issues"},"bin":{"ttop":"run-ttop.js"},"dist":{"shasum":"aabe4a06d39d9f174423f9cb4e60ba2c4172e91e","tarball":"https://registry.npmjs.org/@caarlos0/ttop/-/ttop-0.1.0.tgz","fileCount":6,"integrity":"sha512-tAZb9GLZEYQOOpyXlULkfgd98+1FHT3TFH4tSAMnehog4dLJff5V62EOVqKqK5jEwBBTUJHuNg29cycX0fKhUw==","signatures":[{"sig":"MEUCIQCAVAQPsFoFJSlicnZWOVE53Od8Ik+8NMF5uUXrfWrW0QIgZYj7XRiZ1SvpZU6SeUHg0GAlmR5EZSQkmpr40mfYSI4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@caarlos0%2fttop@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11811},"type":"module","gitHead":"0a3fc867313823dd31e636e53a27b37c2c34ba07","scripts":{"run":"node run-ttop.js","postinstall":"node install.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:44a1cedb-35c0-4abf-93f4-75e2c618fb45"}},"archives":{"linux-x64":{"url":"https://github.com/caarlos0/ttop/releases/download/v0.1.0/ttop_Linux_x86_64.tar.gz","bins":["ttop"],"name":"ttop_Linux_x86_64.tar.gz","format":"tar.gz","checksum":{"digest":"17da55e6f2065ed551c7bc6904328aaec46e048d590f9b3eb68c8ffe1b689fef","algorithm":"sha256"}},"darwin-x64":{"url":"https://github.com/caarlos0/ttop/releases/download/v0.1.0/ttop_Darwin_x86_64.tar.gz","bins":["ttop"],"name":"ttop_Darwin_x86_64.tar.gz","format":"tar.gz","checksum":{"digest":"2207b0b16f36bb927b4a85cde7992129bab97bfe49de215fa7904df7578d3ba3","algorithm":"sha256"}},"linux-arm64":{"url":"https://github.com/caarlos0/ttop/releases/download/v0.1.0/ttop_Linux_arm64.tar.gz","bins":["ttop"],"name":"ttop_Linux_arm64.tar.gz","format":"tar.gz","checksum":{"digest":"f3403ca8ac00d708de71be856b0bc762432369540a12bef927533d86fae566b0","algorithm":"sha256"}},"darwin-arm64":{"url":"https://github.com/caarlos0/ttop/releases/download/v0.1.0/ttop_Darwin_arm64.tar.gz","bins":["ttop"],"name":"ttop_Darwin_arm64.tar.gz","format":"tar.gz","checksum":{"digest":"fb94a83c2d071b695b8e1aeb5fa89a238c879f261f96cfeacffc460fbcc3a7d5","algorithm":"sha256"}}},"repository":{"url":"git+https://github.com/caarlos0/ttop.git","type":"git"},"_npmVersion":"11.13.0","description":"A tiny TUI that lists, filters and kills the processes running in every tmux pane.","directories":{},"_nodeVersion":"24.17.0","dependencies":{"tar":"7.5.15","jszip":"3.10.1","proxy-agent":"8.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ttop_0.1.0_1782439956886_0.08612799712454722","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@caarlos0/ttop","type":"module","version":"0.2.0","description":"A tiny TUI that lists, filters and kills the processes running in every tmux pane.","scripts":{"postinstall":"node install.js","run":"node run-ttop.js"},"repository":{"type":"git","url":"git+https://github.com/caarlos0/ttop.git"},"keywords":["tmux","process","top","htop","tui","cli"],"author":{"name":"Carlos Alexandro Becker","email":"carlos@becker.software"},"license":"MIT","bugs":{"url":"https://github.com/caarlos0/ttop/issues"},"homepage":"https://github.com/caarlos0/ttop","bin":{"ttop":"run-ttop.js"},"dependencies":{"jszip":"3.10.1","proxy-agent":"8.0.1","tar":"7.5.15"},"archives":{"darwin-arm64":{"name":"ttop_Darwin_arm64.tar.gz","url":"https://github.com/caarlos0/ttop/releases/download/v0.2.0/ttop_Darwin_arm64.tar.gz","bins":["ttop"],"format":"tar.gz","checksum":{"algorithm":"sha256","digest":"b17d876402c580816cb3f3c3324b7f80099200fca40d02f0d507cac816dbe554"}},"darwin-x64":{"name":"ttop_Darwin_x86_64.tar.gz","url":"https://github.com/caarlos0/ttop/releases/download/v0.2.0/ttop_Darwin_x86_64.tar.gz","bins":["ttop"],"format":"tar.gz","checksum":{"algorithm":"sha256","digest":"0acc57485f9ea20d484514056b804de4084ed46953286c5c9cb0da948ea9365b"}},"linux-arm64":{"name":"ttop_Linux_arm64.tar.gz","url":"https://github.com/caarlos0/ttop/releases/download/v0.2.0/ttop_Linux_arm64.tar.gz","bins":["ttop"],"format":"tar.gz","checksum":{"algorithm":"sha256","digest":"983da4da38c21b11298097aaf6abab1abd8e5c48ec4f9dfcb7ba5f643f59070f"}},"linux-x64":{"name":"ttop_Linux_x86_64.tar.gz","url":"https://github.com/caarlos0/ttop/releases/download/v0.2.0/ttop_Linux_x86_64.tar.gz","bins":["ttop"],"format":"tar.gz","checksum":{"algorithm":"sha256","digest":"8ce674c6d17299348f7539c732c591d5042a27d3b13c36576d2052b0c246da68"}}},"gitHead":"fc66c4868eae1b5ffaabe040d390e23e7c1f780f","_id":"@caarlos0/ttop@0.2.0","_nodeVersion":"24.17.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-HXbjeq/sLCHO2rV7cwNRBVHvdkc0inxGv/wQm6kcPZdakCRYHHtHihEqSSC2+O7RsFqrLvxJGYwVJmaQiMApEg==","shasum":"1a2b0a212aa497a14292e41e95edf38a75f5bea8","tarball":"https://registry.npmjs.org/@caarlos0/ttop/-/ttop-0.2.0.tgz","fileCount":6,"unpackedSize":11798,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@caarlos0%2fttop@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIE1Px/6gnAc0sK61qzbeFiWSuXMdInjjxmdn0dVjqUENAiAz6E88Y1fqstyJuX6bIChP9gGgjWjl3JVklCn/SijedA=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:44a1cedb-35c0-4abf-93f4-75e2c618fb45"}},"directories":{},"maintainers":[{"name":"caarlos0","email":"caarlos0@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ttop_0.2.0_1782824812085_0.7663542044714007"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-26T01:50:00.556Z","modified":"2026-06-30T13:06:52.594Z","0.0.1":"2026-06-26T01:50:00.822Z","0.1.0":"2026-06-26T02:12:37.014Z","0.2.0":"2026-06-30T13:06:52.239Z"},"bugs":{"url":"https://github.com/caarlos0/ttop/issues"},"author":{"name":"Carlos Alexandro Becker","email":"carlos@becker.software"},"license":"MIT","homepage":"https://github.com/caarlos0/ttop","keywords":["tmux","process","top","htop","tui","cli"],"repository":{"type":"git","url":"git+https://github.com/caarlos0/ttop.git"},"description":"A tiny TUI that lists, filters and kills the processes running in every tmux pane.","maintainers":[{"name":"caarlos0","email":"caarlos0@gmail.com"}],"readme":"# ttop\n\n> A tmux-aware process tree with `top`-style CPU/memory views.\n\nSessions are tabs, each window a process tree, sorted by CPU or memory\n(busiest first). Navigate, filter, and kill — from any pane.\n\n```\n Sessions:  dev*  infra  notes\n\n       PID    CPU%       MEM  COMMAND   (sort: CPU ▼)\n ▾ [2] api   4 proc · 14.2% · 354M\n      5990     0.0        9M  └─ -fish\n      6021    13.7      320M     └─ node server.js\n      6044     0.5       21M        ├─ esbuild\n      6050     0.0        4M        └─ tsc --watch\n ▾ [1] editor   2 proc · 1.8% · 89M\n      4775     0.0        9M  └─ -fish\n      4810     1.8       80M     └─ nvim\n j/k move · ^u/^d page · g/G ends · h/l session · Enter fold · / filter · P cpu · M mem · t SIGTERM · x SIGKILL · q quit\n```\n\n## Install\n\n```sh\nbrew install --cask caarlos0/tap/ttop    # homebrew\nnpm install -g @caarlos0/ttop            # npm\nnpx @caarlos0/ttop                       # run without installing\ncargo install --path .                   # from source\n```\n\nttop reads your running **tmux** server, so run it from inside (or alongside)\ntmux.\n\n## Keys\n\nVim-style; arrows, `Home`/`End` and `PageUp`/`PageDown` work too.\n\n| Key | Action |\n| --- | --- |\n| `j` / `k` | move (`Ctrl-d`/`Ctrl-u` half-page, `g`/`G` top/bottom) |\n| `h` / `l`, `Tab` | switch session |\n| `Enter` | fold / unfold window (`⇧Enter` for all) |\n| `/` | filter by command or PID |\n| `P` / `M` | sort by CPU / memory |\n| `t` / `x` | SIGTERM / SIGKILL the selected process |\n| `q` | quit |\n\nCPU% is sampled between ~2s refreshes — the first frame reads ~0%, and a busy\nprocess can exceed 100% on multiple cores.\n\n`⇧Enter` needs a terminal with keyboard-enhancement support; inside tmux, also\n`set -g extended-keys on`.\n","readmeFilename":"README.md"}