Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 606 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 606 Bytes

macos-native-processlist

Build

Loads list of processes on macOS natively, without any bullshit ps output parsing

Usage

import { getProcessList } from 'macos-native-processlist'

getProcessList().then(processes => {
  for (let process of processes) {
    console.log(process.pid, process.name, process.children.length)
  }
})

For the full API look at the typings file.