Pipeline constructor for Node.js.