MCPcopy Create free account
hub / github.com/Hexlet/patterns / codeToJson

Function codeToJson

content/adapter/javascript/function/convertors.js:3–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import sanitize from 'sanitizer';
2
3export const codeToJson = () => {
4 /* ... */
5};
6
7export const codeToHtml = (code, convert) => {
8 const sanitized = sanitize(code);

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…