{"library":"redis-sorted-set","type":"library","category":null,"description":"A JavaScript implementation of Redis Sorted Sets using skip lists. Provides O(log(N)) average time for add, remove, rank, and range queries. Version 2.0.1 uses a fork of the abandoned sorted-map package. It mirrors Redis Sorted Set commands (ZADD, ZRANGE, ZSCORE, etc.) and adds methods like .has() and .length. Intersection and unique constraints are supported. The library is dependency-free, works in Node.js and browsers (with bundling), and has no native dependencies. Release cadence is low; last update was in 2021. Differentiators: pure JS, no Redis required, and skip-list based for predictable performance.","language":"javascript","status":"maintenance","version":"2.0.1","tags":["javascript","set","linked-list","skip-list","ordered","sorted","collection","map","redis"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install redis-sorted-set","imports":["const SortedSet = require('redis-sorted-set')","import SortedSet from 'redis-sorted-set'","SortedSet.intersect(setA, setB)"]},{"cmd":"yarn add redis-sorted-set","imports":[]},{"cmd":"pnpm add redis-sorted-set","imports":[]}],"homepage":"https://github.com/axelpale/redis-sorted-set","github":"https://github.com/axelpale/redis-sorted-set","docs":null,"changelog":null,"pypi":null,"npm":"redis-sorted-set","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}