fix as_stream typo to to_stream
-rw-r--r-- .gitignore
drwxr-xr-x lib
drwxr-xr-x maint
drwxr-xr-x t