{"_id":"@atakan75/elysia-redis","_rev":"2-b0c2179dfdfd77aa41d544dfd90044b7","name":"@atakan75/elysia-redis","dist-tags":{"latest":"0.1.8"},"versions":{"0.1.4":{"name":"@atakan75/elysia-redis","version":"0.1.4","license":"MIT","description":"plugin for Elysia","repository":{"type":"git","url":"git+https://github.com/Atakan75/elysia-redis.git"},"bugs":{"url":"https://github.com/Atakan75/elysia-redis/issues"},"homepage":"https://github.com/Atakan75/elysia-redis","keywords":["elysia","plugin","redis","cache"],"type":"module","scripts":{"dev":"bun run --watch examples/index.ts","release":"npm run test && npm run build && bumpp && npm publish --access public && git push --follow-tags","test":"bun test","typecheck":"tsc --noEmit","build":"unbuild"},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"bun":"./dist/index.mjs","node":"./dist/index.cjs","require":"./dist/index.cjs","import":"./dist/index.mjs","default":"./dist/index.mjs","types":"./dist/index.d.ts"}},"devDependencies":{"@types/bun":"latest","bumpp":"^9.4.0","elysia":"^1.0.9","typescript":"^5.4.3","unbuild":"^2.0.0"},"peerDependencies":{"elysia":">= 1.0.0"},"dependencies":{"@yolk-oss/elysia-env":"^1.0.2","ioredis":"^5.3.2"},"_id":"@atakan75/elysia-redis@0.1.4","gitHead":"cc5cbd92a8452d32a4bb162569d39332c71e0811","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-FzoMjOdoDqQVHQEdkscWPJB8qIAmFMWPaVm2MEbSlmyCM10zsM1/ngbU2r2aHZyeQfE1gPDfH+dPqII62Jkvug==","shasum":"f0fee3721438f76068d6eca60d5097b01a86bdd3","tarball":"https://registry.npmjs.org/@atakan75/elysia-redis/-/elysia-redis-0.1.4.tgz","fileCount":8,"unpackedSize":8534,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEFPVG/V6/wt50gwpZyeK2vF7BNsUw0BgmBWsoFXg0HBAiAu2EwVOD8e1WsV+hk/8g/+e9iEfHAUgWQhmta7ct4XJw=="}]},"_npmUser":{"name":"atakan75","email":"atakanseventyfive@gmail.com"},"directories":{},"maintainers":[{"name":"atakan75","email":"atakanseventyfive@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elysia-redis_0.1.4_1713131100192_0.188469580241444"},"_hasShrinkwrap":false},"0.1.5":{"name":"@atakan75/elysia-redis","version":"0.1.5","license":"MIT","description":"plugin for Elysia","repository":{"type":"git","url":"git+https://github.com/Atakan75/elysia-redis.git"},"bugs":{"url":"https://github.com/Atakan75/elysia-redis/issues"},"homepage":"https://github.com/Atakan75/elysia-redis","keywords":["elysia","plugin","redis","cache"],"type":"module","scripts":{"dev":"bun run --watch examples/index.ts","release":"npm run test && npm run build && bumpp && npm publish --access public && git push --follow-tags","test":"bun test","typecheck":"tsc --noEmit","build":"unbuild"},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"bun":"./dist/index.mjs","node":"./dist/index.cjs","require":"./dist/index.cjs","import":"./dist/index.mjs","default":"./dist/index.mjs","types":"./dist/index.d.ts"}},"devDependencies":{"@types/bun":"latest","bumpp":"^9.4.0","elysia":"^1.0.9","typescript":"^5.4.3","unbuild":"^2.0.0"},"peerDependencies":{"elysia":">= 1.0.0"},"dependencies":{"@yolk-oss/elysia-env":"^1.0.2","ioredis":"^5.3.2"},"_id":"@atakan75/elysia-redis@0.1.5","gitHead":"95a63211480c1e88aae51503130834f17c13150f","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-XU9MqiQwWgWIvYwNr5gvpQRSxJJqCscB/STigp76OH0ONxydiDXfiQA89WgyKQ+hBeqctXkNJVV4R0obRJQY9w==","shasum":"1f83c9f1d3a8813ef251ec42e658b4673743f3aa","tarball":"https://registry.npmjs.org/@atakan75/elysia-redis/-/elysia-redis-0.1.5.tgz","fileCount":8,"unpackedSize":8534,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDbVHDOsrXbeLNLmnEjmFeN4aYcZAADTWZmj4gEmH85TAiEA+sgm+h+evKpuKog1UApOPE4w/Pc5C8VKV/4AubnOyUg="}]},"_npmUser":{"name":"atakan75","email":"atakanseventyfive@gmail.com"},"directories":{},"maintainers":[{"name":"atakan75","email":"atakanseventyfive@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elysia-redis_0.1.5_1713131298975_0.9858033363985452"},"_hasShrinkwrap":false},"0.1.8":{"name":"@atakan75/elysia-redis","version":"0.1.8","license":"MIT","description":"plugin for Elysia","repository":{"type":"git","url":"git+https://github.com/Atakan75/elysia-redis.git"},"bugs":{"url":"https://github.com/Atakan75/elysia-redis/issues"},"homepage":"https://github.com/Atakan75/elysia-redis","keywords":["elysia","plugin","redis","cache"],"type":"module","scripts":{"dev":"bun run --watch examples/index.ts","release":"npm run test && npm run build && bumpp && npm publish --access public && git push --follow-tags","test":"bun test","typecheck":"tsc --noEmit","build":"unbuild"},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"bun":"./dist/index.mjs","node":"./dist/index.cjs","require":"./dist/index.cjs","import":"./dist/index.mjs","default":"./dist/index.mjs","types":"./dist/index.d.ts"}},"devDependencies":{"@types/bun":"latest","bumpp":"^9.4.0","elysia":"^1.0.9","typescript":"^5.4.3","unbuild":"^2.0.0"},"peerDependencies":{"elysia":">= 1.0.0"},"dependencies":{"@yolk-oss/elysia-env":"^1.0.2","ioredis":"^5.3.2"},"_id":"@atakan75/elysia-redis@0.1.8","gitHead":"655a9125b360b6e55746704aa0fa01c6141e5f8e","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-pLszlsaSBHK0Pd4HPzzp1GaKisOaCEbsLQxmMnnJHTbvdtcVRVVw9bmg91ku+QR4+0RcHR47turP6kGZq9Dvlw==","shasum":"685827e6ca02cb5a38df418130f2f3a84e8034b2","tarball":"https://registry.npmjs.org/@atakan75/elysia-redis/-/elysia-redis-0.1.8.tgz","fileCount":8,"unpackedSize":8534,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAF2Vp1iGNdhV9um5uKm9IDpm/tS+tBHgqLrSZux33tnAiAcFBJdsDU/94RdmGP5ZhTBbrfMIPvHzVjzlwVE9WbKPQ=="}]},"_npmUser":{"name":"atakan75","email":"atakanseventyfive@gmail.com"},"directories":{},"maintainers":[{"name":"atakan75","email":"atakanseventyfive@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elysia-redis_0.1.8_1713132616145_0.4191367073538941"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-14T21:45:00.048Z","0.1.4":"2024-04-14T21:45:00.351Z","modified":"2024-04-14T22:10:16.524Z","0.1.5":"2024-04-14T21:48:19.138Z","0.1.8":"2024-04-14T22:10:16.310Z"},"maintainers":[{"name":"atakan75","email":"atakanseventyfive@gmail.com"}],"description":"plugin for Elysia","homepage":"https://github.com/Atakan75/elysia-redis","keywords":["elysia","plugin","redis","cache"],"repository":{"type":"git","url":"git+https://github.com/Atakan75/elysia-redis.git"},"bugs":{"url":"https://github.com/Atakan75/elysia-redis/issues"},"license":"MIT","readme":"# @Atakan75/elysia-redis\n\nRedis plugin for [Elysia.js](https://elysiajs.com)\n\n## Installation\n\n```bash\nbun add @atakan75/elysia-redis\n```\n\n## Usage\n\n```ts\nimport { Elysia, t } from 'elysia';\nimport { redis } from '@Atakan75/elysia-redis';\n\nconst app = new Elysia()\n    .use(redis())\n    .get('/', async ({ redis }) => {\n        await redis.set('elysia', 'redis', 60);\n        const data = await redis.get('elysia');\n        if (!data) {\n            throw new Error('No data found');\n        }\n        return data;\n    });\n\nconsole.log(`Listening on http://${app.server!.hostname}:${app.server!.port}`)\n```\n\nCheckout the [tests](./tests) folders on github.\n\n## Need To Know\n\nFirst of all, if you define REDIS_URL in the env file, it will take the value you enter. If you do not define anything, it will connect to the redis server installed in your local.\n\n## License\n\n[MIT](LICENSE)","readmeFilename":"README.md"}