1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00
Files
node-redis/examples/auth.js
Ruben Bridgewater f1a7bcd735 chore: use standard
2017-05-06 07:06:52 +02:00

8 lines
169 B
JavaScript

'use strict'
var redis = require('redis')
// The client stashes the password and will re-authenticate on every connect.
redis.createClient({
password: 'some pass'
})