Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
18
export
const
escape = (value: string) => value.replace(/\r/g,
'\\r'
).replace(/\n/g,
'\\n'
);
Callers
1
client.ts
File · 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…