3 ms·
Simplest possible in-browser "Redis": var Redis = {}; ;)
by al2o3cr 12y ago
Simplest possible in-browser "Redis":
var Redis = {};
;)
- deleted 12y ago[deleted]
- philsnow 12y agoSo that implements what subset of http://redis.io/commands http://redis.io/commands ? s/;)/:trollface:/ ;)
- imslavko 12y agoHere is my implementation of an in-memory Redis based on JS objects that supports Lists, Strings and Hashes commands. This implementation is mostly used as an in-memory cache in the browser to sync state from the server in the Meteor framework: https://github.com/meteor/miniredis https://github.com/meteor/miniredis