MCPcopy Create free account
hub / github.com/Effect-TS/effect / stripCrlf

Function stripCrlf

packages/effect/src/Encoding.ts:500–500  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

498const decoder = new TextDecoder()
499
500const stripCrlf = (str: string) => str.replace(/[\n\r]/g, "")
501
502// Base64 internals
503

Callers 2

decodeBase64Function · 0.85
decodeBase64UrlFunction · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected