Skip to content

Redis Local JavaScript API

Redsmin provides a Redis Local JavaScript API (RLJ) directly from your browser console. 

  1. Connect to a server from Redsmin
  2. Open browser console
  3. You can now use the following API:
    • redis(command, arg1, arg2, ..., [callback])
    • redisMulti([command, arg1, arg2], [command2, arg1, arg2, ...], [callback])
    • $reds returns the last data displayed on screen

Note:

  • callback is optional. By default the result will be directly printed into the console.
  • redis returns a jQuery deferred.

Feedback and Knowledge Base