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