This open source library allows you to use Redis as a UserStorage Service in VWO Node SDK
- Node 6.10.0 or later - for server-side
- Redis 4.6 or later
# via npm
npm install vwo-node-sdk-redis-helper --save
# via yarn
yarn add vwo-node-sdk-redis-helper
-
Require the helper
const VWOUserStorageRedisHelper = require('vwo-node-sdk-redis-helper');
-
Create the instance
const VWORedisStorageInstance = new VWOUserStorageRedisHelper();
-
Initialize the helper with the Redis configuration
VWORedisStorageInstance.init({ // URL to connect with Redis url: 'http://localhost', // password to connect to Redis, if any password: "test@123", // (Optional) port where redis is listening, by default 6379 port: 1234 });
Refer Official VWO Documentation
Refer CHANGELOG.md
Please go through our contributing guidelines
Copyright 2024 Wingify Software Pvt. Ltd.