node-darwin-process
v1.0.0
Published
https://github.com/epsitec-sa/node-darwin-process
Keywords
Readme
node-darwin-process
Provides low level POSIX API functions concerning process management on macOS.
Requirements
- macOS (darwin)
- Node.js >= 8.4.0
- node-gyp
Installation
Install dependencies and build the native addon:
npm install
npm run buildUsage
const process = require('./module');Scripts
| Command | Description |
|---|---|
| npm test | Run the test suite with Mocha |
| npm run configure | Configure the native build |
| npm run build | Build the native addon |
Debugging
The project includes VS Code launch configurations in .vscode/launch.json:
- Run and debug C++ native module with tests — launches Node with LLDB so you can set breakpoints in the C++ addon source. Requires the CodeLLDB extension.
- Run and debug JS with tests — runs
npm testin a Node.js terminal, letting you set breakpoints in JavaScript test code.
Both configurations run the full test suite on launch.
