{"library":"tlhunter-sorted-set","type":"library","category":null,"description":"A JavaScript skip list implementation of Redis Sorted Sets (sorted-map/redis-sorted-map fork). v0.1.0 (latest, stable). Provides O(log N) average-time add, remove, rank, range, score, and cardinality operations. Supports intersection of multiple sets. Members can be any primitive value (strings, symbols, objects). No external dependencies. Not actively maintained, but functional for basic use cases.","language":"javascript","status":"maintenance","version":"0.1.0","tags":["javascript","set","linked-list","skip-list","map","redis"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install tlhunter-sorted-set","imports":["const SortedSet = require('tlhunter-sorted-set');","const result = SortedSet.intersect(setA, setB);","z.add('member', 8.0);","z.score('member');","z.rangeByScore(7, 8, { withScores: true });"]},{"cmd":"yarn add tlhunter-sorted-set","imports":[]},{"cmd":"pnpm add tlhunter-sorted-set","imports":[]}],"homepage":"https://github.com/tlhunter/node-sorted-set","github":"https://github.com/tlhunter/node-sorted-set","docs":null,"changelog":null,"pypi":null,"npm":"tlhunter-sorted-set","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}