MCPcopy Create free account
hub / github.com/effect-app/libs / toFrames

Function toFrames

repos/effect/packages/effect/test/unstable/cli/Prompt.test.ts:43–46  ·  view source on GitHub ↗
(lines: ReadonlyArray<unknown>)

Source from the content-addressed store, hash-verified

41 lines
42 .map((line) => stripAnsi(String(line)))
43 .filter((line) => line.split(bell).join("").trim().length > 0)
44
45const toRawFrames = (lines: ReadonlyArray<unknown>) =>
46 lines
47 .map((line) => String(line))
48 .filter((line) => stripAnsi(line).split(bell).join("").trim().length > 0)
49

Callers 1

Prompt.test.tsFile · 0.85

Calls 6

filterMethod · 0.80
joinMethod · 0.80
stripAnsiFunction · 0.70
mapMethod · 0.65
splitMethod · 0.65
StringInterface · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…