@3leaps/sysprims
v0.1.13
Published
GPL-free cross-platform process utilities (TypeScript bindings via Node-API native addon)
Readme
sysprims (TypeScript bindings)
TypeScript/Node.js bindings for sysprims using a Node-API (N-API) native addon (napi-rs).
Platform support
Supported:
- macOS: arm64
- Linux: glibc and musl (Alpine)
- Windows: x64, arm64 (msvc)
Local development
The native addon is built from Rust:
npm install
npm run build
npm run build:native
npm run test:ciAPI (minimal)
procGet(pid)→ returns parsed JSON fromsysprims_proc_getselfPGID()→ callssysprims_self_getpgidselfSID()→ callssysprims_self_getsid
Safety
These bindings call into a process-control library. Do not use dangerous PIDs.
