You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-01 16:46:54 +03:00
8 lines
172 B
JavaScript
8 lines
172 B
JavaScript
'use strict';
|
|
|
|
var redis = require('redis');
|
|
// The client stashes the password and will reauthenticate on every connect.
|
|
redis.createClient({
|
|
password: 'somepass'
|
|
});
|