MCPcopy
hub / github.com/resend/react-email / pretty

Function pretty

packages/render/src/shared/utils/pretty.ts:126–131  ·  view source on GitHub ↗
(str: string, options: Options = {})

Source from the content-addressed store, hash-verified

124};
125
126export const pretty = (str: string, options: Options = {}) => {
127 return format(str.replaceAll('\0', ''), {
128 ...defaults,
129 ...options,
130 });
131};

Callers 7

pretty.spec.tsFile · 0.90
renderFunction · 0.90
renderFunction · 0.50
renderFunction · 0.50
renderRawHtmlEmailByPathFunction · 0.50
getImportedComponentFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…