MCPcopy Create free account
hub / github.com/neplextech/vectorizer / parsePluginConfig

Function parsePluginConfig

cli/index.mjs:330–338  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

328}
329
330function parsePluginConfig(value) {
331 const trimmed = value.trim();
332
333 if (trimmed.startsWith('{')) {
334 return JSON.parse(trimmed);
335 }
336
337 return trimmed;
338}
339
340function parseInteger(value) {
341 const parsed = Number.parseInt(value, 10);

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…