
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
pull-cursor
Advanced tools
A pull-stream over series that have an index.
I wrote this to abstract out streams for flumelog-offset it makes flexible streams on ranges easy, including live streams!
var inject = require('pull-cursor')
since is an obv instance, which represents the current length of
the dataset. getMeta is a function that takes an offset, an option
to use caching and callback the value plus the next and prev
offsets.
var Obv = require('obv')
var since = Obv()
//dummy example with an array as the datastore
var ary = ['A', 'B', 'C', 'D']
since.set(ary.length - 1) //set since to last index!
var createStream = require('pull-cursor')(
since,
function (offset, useCache, cb) {
if(offset < 0 || offset >= ary.length)
return cb(new Error('out of bounds:'+offset)
cb(null, ary[offset], offset-1, offset+1)
})
createStream now accepts all the typical options of a
levelup or flumedb stream. including
reverse (boolean) read backwardslive (boolean) include new itemsold (boolean) include old items (set to false implies live)gt (offset) items greater than a valid offsetgte (offset) items greater or equal to a valid offsetlt (offset) items less than a given offsetlte (offset) items less than or equal to a given offsetlimit (number) stop after N items.cache (boolean) use cache of underlyingMIT
FAQs
A pull-stream over series that have an index.
The npm package pull-cursor receives a total of 191 weekly downloads. As such, pull-cursor popularity was classified as not popular.
We found that pull-cursor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.