{"version":3,"sources":["jsdelivr-header.js","/npm/redis-srvr@2.8.17-beta.6/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,IACI,MADA,GAAK,QAAQ,iBAGjB,OAAO,QAAU,CACb,MAAO,SAAU,GACb,IAAI,EAEmB,iBADvB,EAAU,GAAW,CAAC,KAElB,EAAO,GAEX,EAAO,GAAQ,EAAQ,MAAQ,KAC3B,MACA,QAAQ,IAAI,wCAEZ,MAAQ,GAAG,MAAM,cAAe,CAAC,SAAU,GAAO,CAC9C,MAAO,CAAC,SAAU,OAAQ,UAGlC,QAAQ,IAAI,SAAU,MAAM,IAChC","file":"/npm/redis-srvr@2.8.17-beta.6/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/redis-srvr@2.8.17-beta.6/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","var cp = require('child_process');\nvar redis;\n\nmodule.exports = {\n    start: function (options) {\n        var port;\n        options = options || {};\n        if (typeof options === 'number') {\n            port = options;\n        }\n        port = port || options.port || 6379;\n        if (redis) {\n            console.log('Redis instance is already running...');\n        } else {\n            redis = cp.spawn('./bin/start', ['--port', port], {\n                stdio: ['ignore', 'pipe', 'pipe']\n            });\n        }\n        console.log('> pid:', redis.pid);\n    }\n};"]}