MCPcopy Index your code
hub / github.com/itwanger/toBeBetterJavaer / parseList

Function parseList

scripts/convert-mdnice-images-to-cdn.js:114–119  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

112}
113
114function parseList(value) {
115 return value
116 .split(",")
117 .map((item) => item.trim())
118 .filter(Boolean);
119}
120
121function parsePositiveInt(value, optionName) {
122 const parsed = Number.parseInt(value, 10);

Callers 2

parseArgsFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected