{"id":45149,"library":"integreat-transporter-redis","title":"Integreat Redis Transporter","description":"Redis transporter for Integreat v1.0+. Current stable version 1.5.0, released under the integreat-io organization. Allows Integreat to access and manipulate Redis hashes, with support for fetching single/multiple keys, pattern matching, and prefix customization. Differentiators: designed specifically for Integreat's action dispatching, with options for concurrency, TLS, and authentication. Requires Node >=18 and Integreat v1.0.","status":"active","version":"1.5.0","language":"javascript","source_language":"en","source_url":"https://github.com/integreat-io/integreat-transporter-redis","tags":["javascript"],"install":[{"cmd":"npm install integreat-transporter-redis","lang":"bash","label":"npm"},{"cmd":"yarn add integreat-transporter-redis","lang":"bash","label":"yarn"},{"cmd":"pnpm add integreat-transporter-redis","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency; the transporter is meant to be used with Integreat v1.0+","package":"integreat","optional":false}],"imports":[{"note":"ESM-only package, default export is the transporter factory.","wrong":"const redisTransporter = require('integreat-transporter-redis')","symbol":"default","correct":"import redisTransporter from 'integreat-transporter-redis'"},{"note":"Integreat is ESM-only since v1.0.","wrong":"const Integreat = require('integreat')","symbol":"Integreat","correct":"import Integreat from 'integreat'"},{"note":"Alternatively use Integreat.create().","wrong":"const { create } = require('integreat')","symbol":"create","correct":"import { create } from 'integreat'"}],"quickstart":{"code":"import Integreat from 'integreat'\nimport redisTransporter from 'integreat-transporter-redis'\n\nconst config = {\n  sources: [{\n    id: 'store',\n    transporter: 'redis',\n    endpoints: [{\n      options: {\n        prefix: 'store',\n        redis: { uri: process.env.REDIS_URI ?? 'redis://localhost:6379' },\n        concurrency: 5\n      }\n    }]\n  }]\n}\n\nconst great = Integreat.create(config, {\n  transporters: { redis: redisTransporter() }\n})\n\n// Fetch all keys with prefix 'store:'\nconst { data } = await great.dispatch({\n  type: 'GET',\n  payload: { type: 'product' }\n})\nconsole.log(data)","lang":"typescript","description":"Initialize Integreat with Redis transporter and fetch all keys of type 'product'."},"warnings":[{"fix":"Upgrade Node.js to version 18 or higher.","message":"Node versions < 18 are not supported","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"Use import syntax or update to ESM project.","message":"ESM-only since v1.0.0, no CommonJS support","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Ensure integreat version is at least 1.0.","message":"Requires Integreat v1.0 or higher","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Set useTypeAsPrefix: false if you want only id as key.","message":"Default option useTypeAsPrefix is true: key format is <type>:<id>","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Set concurrency option to higher number for parallel fetches.","message":"Concurrency defaults to 1 (sequential fetches)","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'1.5.0':12 '18':56 'access':23 'action':45 'allow':20 'authent':53 'concurr':50 'current':9 'custom':38 'design':40 'differenti':39 'dispatch':46 'fetch':31 'hash':27 'integreat':1,7,17,21,43,58 'integreat-io':16 'io':18 'javascript':60 'key':33 'manipul':25 'match':35 'node':55 'option':48 'organ':19 'pattern':34 'prefix':37 'redi':2,4,26 'releas':13 'requir':54 'single/multiple':32 'specif':41 'stabl':10 'support':29 'tls':51 'transport':3,5 'v1.0':8,59 'version':11","created_at":"2026-06-07T12:53:35.842209+00:00","updated_at":"2026-06-07T12:53:35.842209+00:00","problems":[{"fix":"Run npm install integreat-transporter-redis","cause":"Package not installed or name misspelled","error":"Cannot find package 'integreat-transporter-redis'"},{"fix":"Start Redis server or set correct redis.uri in endpoint options.","cause":"Redis server not running or wrong host/port","error":"Error: connect ECONNREFUSED ::1:6379"},{"fix":"Use import redisTransporter from 'integreat-transporter-redis'","cause":"Default import used incorrectly","error":"TypeError: redisTransporter is not a function"},{"fix":"Pass transporters: { redis: redisTransporter() } to Integreat.create()","cause":"Transporter not passed in options","error":"Integreat requires transporter 'redis' but it was not provided"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/integreat-io/integreat-transporter-redis#readme","github":"https://github.com/integreat-io/integreat-transporter-redis","docs":null,"changelog":null,"pypi":null,"npm":"integreat-transporter-redis","openapi_spec":null,"status_page":null,"smithery":null,"categories":["database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-07","next_check":"2026-09-05","install_tag":null}}