macos-native-processlist
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

macos-native-processlist

Build Status

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.

/macos-native-processlist/

    Package Sidebar

    Install

    npm i macos-native-processlist

    Weekly Downloads

    150

    Version

    2.1.0

    License

    MIT

    Unpacked Size

    6.76 kB

    Total Files

    18

    Last publish

    Collaborators

    • eugenepankov