MCPcopy Create free account
hub / github.com/p2r3/convert / python

Function python

src/handlers/textToSource.ts:6–8  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

4import CommonFormats, { Category } from "src/CommonFormats.ts";
5
6function python(text: string): string {
7 return `print(${JSON.stringify(text)})`;
8}
9
10function javascript(text: string): string {
11 return `console.log(${JSON.stringify(text)});`;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…