@valkey/client
Version:
The source code and documentation for this package are in the main [node-redis](https://github.com/redis/node-redis) repo.
12 lines (11 loc) • 335 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.transformArguments = void 0;
function transformArguments(path, moduleArgs) {
const args = ['MODULE', 'LOAD', path];
if (moduleArgs) {
args.push(...moduleArgs);
}
return args;
}
exports.transformArguments = transformArguments;
;