Add streaming interface

Exports `.stream()` to use as stream.

Fixes #5.