{"repo":"yibn2008/find-process","free":true,"listed":false,"github":"https://github.com/yibn2008/find-process","clone":"git clone https://github.com/yibn2008/find-process.git","description":"find process by port/pid/name etc.","language":"TypeScript","stars":141,"topics":["find-process","port","process","cli"],"license":"MIT","category":"cli-tools","readme_excerpt":"find-process With find-process, you can: - find the process which is listening specified port - find the process by pid - find the process by given name or name pattern We have covered the difference of main OS platform, including macOS , Linux , Windows and Android (with Termux). Features - ✅ Full TypeScript Support - Written in TypeScript with complete type definitions - ✅ Cross-platform - Works on macOS, Linux, Windows, and Android - ✅ CLI Tool - Command-line interface for quick process lookup - ✅ Node.js API - Programmatic access with Promise-based API - ✅ Modern Build - ES2020 target with source maps and declaration files CLI Install find-process as a CLI tool: Usage: Example: Node API You can use npm to install: TypeScript Usage JavaScript Usage API Reference Function Signature Arguments - type - The type of search, supports: 'port' 'pid' 'name' - value - The value to search for. Can be RegExp if type is 'name' - options - Optional configuration object or boolean for strict mode - options.strict - Optional strict mode for exact matching of name (on Windows, .exe can be omitted) - options.logLevel - Set logging level to 'trace' 'debug' 'info' 'warn' 'error' . Useful for silencing netstat warnings on Linux - options.skipSelf - Skip the current process when searching by name - options.verbose - Print the internal shell command to stdout before executing - options.debug - Write each command, its stdout, and its stderr to stderr (implies verbose) Return Value Returns a Promi","default_branch":null,"files":null,"tree":[],"storefront":"/r/yibn2008","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yibn2008/find-process/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}