Like UNIX Expect, but for Node.js.