You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-09-11 18:50:46 +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'
|
|
});
|