Eugeny / macos-native-processlist

NodeJS - native macOS process list loader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

NodeJS - native macOS process list loader


Languages

Language:C++ 61.7%Language:JavaScript 26.3%Language:Python 12.0%