openbsd-pledge
OpenBSD pledge(2) bindings for Node.js with prebuilds
Usage
const pledge = const fs = const fd = fs // SIGABRT here
API
pledge([promise], [execpromise])
promise
and execpromise
can be either space separated stringe of promises or
null
. promise
applies to the current process while execpromise
applies to
child processes.
Please refer to the pledge(2)
docs
Install
npm install openbsd-pledge