MCPcopy Create free account
hub / github.com/observablehq/framework / redactJavaScript

Function redactJavaScript

test/javascript/parse-test.ts:15–17  ·  view source on GitHub ↗
({input, ...node}: JavaScriptNode)

Source from the content-addressed store, hash-verified

13}
14
15function redactJavaScript({input, ...node}: JavaScriptNode): Omit<JavaScriptNode, "input"> {
16 return node;
17}
18
19// Convert to a serializable representation.
20function stringify(key: string, value: any): any {

Callers 1

runTestsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected