tasklist-stream
Same as tasklist
but with a streaming interface.
Installation
npm install tasklist-stream
Quickstart
const tasklist = /* { imageName: 'node.exe', pid: 408, sessionName: 'Console', sessionNumber: 2, memUsage: 23031808 } { imageName: 'tasklist.exe', pid: 3728, sessionName: 'Console', sessionNumber: 2, memUsage: 8884224 } */
Examples
- get all tasks that have run for more than a minute
- get the title of the currently selected Chrome tab
API
Documentation coming soon.
License
WTFPL – Do What the F*ck You Want to Public License.
Made with ❤️ by @MarkTiedemann.