Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/proc/src/transformers.ts>textLine

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Very Popular
Go to Latest
function textLine
import { textLine } from "https://deno.land/x/proc@0.20.23/src/transformers.ts";

Transform text in "chunk" form into lines.

Wraps TextLineStream.

Parameters

optional
options: { allowCR?: boolean; }

Options.

Returns

(chunks: AsyncIterable<string>) => AsyncIterable<string>

A transformer.