vwo-node-sdk-redis-helper
v1.0.0
Published
VWO Node SDK Redis Helper to use Redis as a UserStorage Service in VWO Node SDK
Downloads
5
Readme
VWO Node SDK Redis Helper
This open source library allows you to use Redis as a UserStorage Service in VWO Node SDK
Requirements
- Node 6.10.0 or later - for server-side
- Redis 4.6 or later
Installation
# via npm
npm install vwo-node-sdk-redis-helper --save
# via yarn
yarn add vwo-node-sdk-redis-helper
How to use
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 });
Documentation
Refer Official VWO Documentation
Authors
Changelog
Refer CHANGELOG.md
Contributing
Please go through our contributing guidelines
Code of Conduct
License
Copyright 2024 Wingify Software Pvt. Ltd.