UNPKG

@creditkarma/memcached

Version:

A fully featured Memcached API client, supporting both single and clustered Memcached servers through consistent hashing and failover/failure. Memcached is rewrite of nMemcached, which will be deprecated in the near future.

23 lines 589 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.makeCommand = exports.DEFAULT_COMMAND = void 0; const Utils = require("./utils"); exports.DEFAULT_COMMAND = { key: '', value: null, callback: (err, data) => { }, lifetime: 0, validate: [], type: 'touch', command: '', redundancyEnabled: false, multi: false, cas: '', start: 0, execution: 0, }; function makeCommand(options) { return Utils.merge(exports.DEFAULT_COMMAND, options); } exports.makeCommand = makeCommand; //# sourceMappingURL=commands.js.map