MCPcopy Index your code
hub / github.com/nodejs/node / csvEncodeValue

Function csvEncodeValue

benchmark/scatter.js:30–35  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

28let printHeader = true;
29
30function csvEncodeValue(value) {
31 if (typeof value === 'number') {
32 return value.toString();
33 }
34 return `"${value.replace(/"/g, '""')}"`;
35}
36
37(function recursive(i) {
38 const child = fork(path.resolve(__dirname, filepath), cli.optional.set);

Callers 1

scatter.jsFile · 0.85

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…