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

Function transformCLI

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

Source from the content-addressed store, hash-verified

112main(...process.argv.slice(2));
113
114function transformCLI(infoTypes) {
115 return infoTypes
116 ? infoTypes.split(',').map(type => {
117 return {name: type};
118 })
119 : undefined;
120}

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected