MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/nodejs-docs-samples / transformCLI

Function transformCLI

dlp/deidentifyWithDeterministic.js:120–126  ·  view source on GitHub ↗
(infoTypes)

Source from the content-addressed store, hash-verified

118// main(...process.argv.slice(2));
119
120function transformCLI(infoTypes) {
121 return infoTypes
122 ? infoTypes.split(',').map(type => {
123 return {name: type};
124 })
125 : undefined;
126}
127
128module.exports = main;

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected