1.0.8 • Published 3 years ago

mk-redis-connect v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

mk-redis-connect

Installation

npm install mk-redis-connect --save

After installation, you can access the module like below

const {Redis} = require('mk-redis-connect');

const client = new Redis();

client.setConfigOptions({
    host: '127.0.0.1',
    port: 6379
});

client.initConnection();

client.setValue('name','Mani');

client.getValue('name').then(val => console.log(val)).catch(err => console.error(err));

client.setExpiry('name',60);

client.getExpiry('name').then(val => console.log(val)).catch(err => console.error(err));
1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago