├── .editorconfig ├── .github └── workflows │ └── test.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .markdownlint.json ├── .npmignore ├── .prettierrc ├── .vscode ├── extensions.json └── settings.json ├── .yarn ├── plugins │ └── @yarnpkg │ │ └── plugin-after-install.cjs ├── releases │ └── yarn-4.9.2.cjs └── sdks │ ├── eslint │ ├── bin │ │ └── eslint.js │ ├── lib │ │ ├── api.js │ │ ├── config-api.js │ │ ├── types │ │ │ ├── config-api.d.ts │ │ │ ├── index.d.ts │ │ │ ├── rules.d.ts │ │ │ ├── universal.d.ts │ │ │ └── use-at-your-own-risk.d.ts │ │ ├── universal.js │ │ └── unsupported-api.js │ └── package.json │ ├── integrations.yml │ ├── prettier │ ├── bin │ │ └── prettier.cjs │ ├── index.cjs │ └── package.json │ └── typescript │ ├── bin │ ├── tsc │ └── tsserver │ ├── lib │ ├── tsc.js │ ├── tsserver.js │ ├── tsserverlibrary.js │ └── typescript.js │ └── package.json ├── .yarnrc.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── bin └── index.js ├── commitlint.config.js ├── eslint.config.js ├── jest.config.js ├── package.json ├── scripts ├── postinstall.js └── redis_killer.js ├── src ├── RedisMemoryServer.ts ├── __tests__ │ ├── RedisMemoryServer-test.ts │ ├── multipleDB-test.ts │ └── singleDB-test.ts ├── index.ts ├── types.ts └── util │ ├── RedisBinary.ts │ ├── RedisBinaryDownload.ts │ ├── RedisBinaryDownloadUrl.ts │ ├── RedisInstance.ts │ ├── __tests__ │ ├── RedisBinary-test.ts │ ├── RedisBinaryDownload-test.ts │ ├── RedisBinaryDownloadUrl-test.ts │ ├── RedisInstance-test.ts │ └── resolve-config-test.ts │ ├── db_util.ts │ └── resolve-config.ts ├── tsconfig.build.json ├── tsconfig.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | yarn commitlint --edit $1 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | yarn lint-staged 2 | -------------------------------------------------------------------------------- /.markdownlint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.markdownlint.json -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.log 3 | src 4 | flow-typed 5 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.yarn/plugins/@yarnpkg/plugin-after-install.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/plugins/@yarnpkg/plugin-after-install.cjs -------------------------------------------------------------------------------- /.yarn/releases/yarn-4.9.2.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/releases/yarn-4.9.2.cjs -------------------------------------------------------------------------------- /.yarn/sdks/eslint/bin/eslint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/eslint/bin/eslint.js -------------------------------------------------------------------------------- /.yarn/sdks/eslint/lib/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/eslint/lib/api.js -------------------------------------------------------------------------------- /.yarn/sdks/eslint/lib/config-api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/eslint/lib/config-api.js -------------------------------------------------------------------------------- /.yarn/sdks/eslint/lib/types/config-api.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/eslint/lib/types/config-api.d.ts -------------------------------------------------------------------------------- /.yarn/sdks/eslint/lib/types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/eslint/lib/types/index.d.ts -------------------------------------------------------------------------------- /.yarn/sdks/eslint/lib/types/rules.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/eslint/lib/types/rules.d.ts -------------------------------------------------------------------------------- /.yarn/sdks/eslint/lib/types/universal.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/eslint/lib/types/universal.d.ts -------------------------------------------------------------------------------- /.yarn/sdks/eslint/lib/types/use-at-your-own-risk.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/eslint/lib/types/use-at-your-own-risk.d.ts -------------------------------------------------------------------------------- /.yarn/sdks/eslint/lib/universal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/eslint/lib/universal.js -------------------------------------------------------------------------------- /.yarn/sdks/eslint/lib/unsupported-api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/eslint/lib/unsupported-api.js -------------------------------------------------------------------------------- /.yarn/sdks/eslint/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/eslint/package.json -------------------------------------------------------------------------------- /.yarn/sdks/integrations.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/integrations.yml -------------------------------------------------------------------------------- /.yarn/sdks/prettier/bin/prettier.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/prettier/bin/prettier.cjs -------------------------------------------------------------------------------- /.yarn/sdks/prettier/index.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/prettier/index.cjs -------------------------------------------------------------------------------- /.yarn/sdks/prettier/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/prettier/package.json -------------------------------------------------------------------------------- /.yarn/sdks/typescript/bin/tsc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/typescript/bin/tsc -------------------------------------------------------------------------------- /.yarn/sdks/typescript/bin/tsserver: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/typescript/bin/tsserver -------------------------------------------------------------------------------- /.yarn/sdks/typescript/lib/tsc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/typescript/lib/tsc.js -------------------------------------------------------------------------------- /.yarn/sdks/typescript/lib/tsserver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/typescript/lib/tsserver.js -------------------------------------------------------------------------------- /.yarn/sdks/typescript/lib/tsserverlibrary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/typescript/lib/tsserverlibrary.js -------------------------------------------------------------------------------- /.yarn/sdks/typescript/lib/typescript.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/typescript/lib/typescript.js -------------------------------------------------------------------------------- /.yarn/sdks/typescript/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarn/sdks/typescript/package.json -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/.yarnrc.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/README.md -------------------------------------------------------------------------------- /bin/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/bin/index.js -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['@commitlint/config-conventional'], 3 | }; 4 | -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/eslint.config.js -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/package.json -------------------------------------------------------------------------------- /scripts/postinstall.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/scripts/postinstall.js -------------------------------------------------------------------------------- /scripts/redis_killer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/scripts/redis_killer.js -------------------------------------------------------------------------------- /src/RedisMemoryServer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/src/RedisMemoryServer.ts -------------------------------------------------------------------------------- /src/__tests__/RedisMemoryServer-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/src/__tests__/RedisMemoryServer-test.ts -------------------------------------------------------------------------------- /src/__tests__/multipleDB-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/src/__tests__/multipleDB-test.ts -------------------------------------------------------------------------------- /src/__tests__/singleDB-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/src/__tests__/singleDB-test.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/util/RedisBinary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/src/util/RedisBinary.ts -------------------------------------------------------------------------------- /src/util/RedisBinaryDownload.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/src/util/RedisBinaryDownload.ts -------------------------------------------------------------------------------- /src/util/RedisBinaryDownloadUrl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/src/util/RedisBinaryDownloadUrl.ts -------------------------------------------------------------------------------- /src/util/RedisInstance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/src/util/RedisInstance.ts -------------------------------------------------------------------------------- /src/util/__tests__/RedisBinary-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/src/util/__tests__/RedisBinary-test.ts -------------------------------------------------------------------------------- /src/util/__tests__/RedisBinaryDownload-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/src/util/__tests__/RedisBinaryDownload-test.ts -------------------------------------------------------------------------------- /src/util/__tests__/RedisBinaryDownloadUrl-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/src/util/__tests__/RedisBinaryDownloadUrl-test.ts -------------------------------------------------------------------------------- /src/util/__tests__/RedisInstance-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/src/util/__tests__/RedisInstance-test.ts -------------------------------------------------------------------------------- /src/util/__tests__/resolve-config-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/src/util/__tests__/resolve-config-test.ts -------------------------------------------------------------------------------- /src/util/db_util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/src/util/db_util.ts -------------------------------------------------------------------------------- /src/util/resolve-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/src/util/resolve-config.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhassan1/redis-memory-server/HEAD/yarn.lock --------------------------------------------------------------------------------