UNPKG

waitpid2

Version:

Complete native binding to the waitpid() syscall

11 lines (8 loc) 177 B
// populates missing values module.exports = function(dst, src) { Object.keys(src).forEach(function(prop) { dst[prop] = dst[prop] || src[prop]; }); return dst; };