A solid, reliable stream class for JavaScript