Work with processes safely and easily in Node.js