no-context / moo

Optimised tokenizer/lexer generator! 🐄 Uses /y for performance. Moo.
BSD 3-Clause "New" or "Revised" License
823 stars 65 forks source link

Streams API #20

Open nathan opened 7 years ago

nathan commented 7 years ago

For further discussion, because #18 is actually about errors.

ntdaley commented 4 years ago

New versions of NodeJS seem to be moving towards async generators for transforming streams. See the example code on the docs for stream.pipeline