Function itr8FromStdin

  • This will produce an AsyncIterableIterator where each value is a string from the stdin stream.

    Really useful combined with the lineByLine() operators to process large files one line at a time. If you want to get every single character, use the stringToChar() operator.

    (If you want the raw bytes, simply use itr8FromStream(process.stdin))

    Returns

    an iterator of strings (chunks of data read from stdin)

    Returns AsyncIterableIterator<string>

Generated using TypeDoc