{"repo":"HeyPuter/kv.js","free":true,"listed":false,"github":"https://github.com/HeyPuter/kv.js","clone":"git clone https://github.com/HeyPuter/kv.js.git","description":"⚡️ Advanced in-memory caching for JavaScript","language":"JavaScript","stars":1529,"topics":["cache","javascript","key-value","memcached","redis","in-memory-caching","node-cache","puter"],"license":"MIT","category":"databases-storage","readme_excerpt":"Advanced in-memory caching module for JavaScript. For when you need caching but running Redis would be an overkill. KV.JS is a fast, in-memory data store written in pure JavaScript, heavily inspired by Redis and Memcached. It is capable of handling multiple data types, including strings, lists, sets, sorted sets, hashes, and geospatial indexes. Additionally, with more than 140 functions , KV.JS supports a vast variety of operations, ranging from SET , GET , EXPIRE , DEL to INCR , DECR , LPUSH , RPUSH , SADD , SREM , HSET , HGET , and many many more. Installation Usage More usage examples decr decrby del Delete specified key(s). If a key does not exist, it is ignored. exists Check if one or more keys exist. expire expireat get Get the value of a key. getset incr incrby keys mget mset persist rename sadd Add one or more members to a set stored at key. scard Returns the number of members of the set stored at key. sdiff This method retrieves the members of a set that are present in the first set but not in any of the subsequent sets, and returns them as a new set. set Set the string value of a key with optional NX/XX/GET/EX/PX/EXAT/PXAT/KEEPTTL, GET, and expiration options. sinter This method retrieves the members that are present in all the sets provided as arguments, and returns them as a new set representing the intersection of those sets. sismember This method determines if a given value is a member of a set. smove This method moves a member from one set to another. sort Sort","default_branch":null,"files":null,"tree":[],"storefront":"/r/HeyPuter","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/HeyPuter/kv.js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}