vwo-node-sdk-redis-helper

1.0.0 • Public • Published

VWO Node SDK Redis Helper

npm version

License

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

  1. Require the helper

    const VWOUserStorageRedisHelper = require('vwo-node-sdk-redis-helper');
  2. Create the instance

    const VWORedisStorageInstance = new VWOUserStorageRedisHelper();
  3. 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

Code of Conduct

License

Apache License, Version 2.0

Copyright 2024 Wingify Software Pvt. Ltd.

Readme

Keywords

none

Package Sidebar

Install

npm i vwo-node-sdk-redis-helper

Weekly Downloads

2

Version

1.0.0

License

Apache-2.0

Unpacked Size

23.2 kB

Total Files

8

Last publish

Collaborators

  • vwointegration