npm.io
1.2.0 • Published 4 years ago

dtx-remote-config

Licence
ISC
Version
1.2.0
Deps
10
Size
18 kB
Vulns
0
Weekly
0

Purpose

Redis를 이용한 Remote-config으로 remote-config 해시테이블에 적재합니다.

Usage

const remoteConfig = require('remote-config');

const options = {
    host: host,
    port: 6379,
    password: password
}
remoteConfig.init(options); // redis create client
remoteConfig.set('key', 'value'); 
await remoteConfig.get('key');
remoteConfig.end(); // redis client end