MCPcopy Create free account
hub / github.com/Kong/httpsnippet / escape

Function escape

src/helpers/shell.ts:18–18  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

16};
17
18export const escape = (value: string) => value.replace(/\r/g, '\\r').replace(/\n/g, '\\n');

Callers 1

client.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…