
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
turn a pull-stream into an observable.
var More = require('pull-obv')
//takes a reduce function and a pull stream source (or other async function)
var obv = More(function reduce (state, item) {
return (state.value || 0) + item
}, pull.values(1,2,3))
//it won't start listening until a listener is subscribed
obv(function (state) {
//if the listener returns true, request more data.
return true
//alternativly, call obv.more() can be called async
obv.more()
})
item is whatever the stream gives. state is always an {}
with properties {reading: boolean, ended: boolean | Error, more: boolean}
and whatever else is added by the reduce function. If more is truthy,
the stream will continue to be read. (this is just one way of requesting more.
also, return true in listener, or call obv.more())
read the next item - note, this is the same as a pull-stream. it should eventually cb(true) which means the stream is over.
Assign a listener. This observable supports only a single listener.
if fn returns true, more is read.
read more. note, calling more once the state is already reading does nothing.
access the internal value of the observable
MIT
FAQs
turn a pull-stream into an observable.
The npm package pull-obv receives a total of 5 weekly downloads. As such, pull-obv popularity was classified as not popular.
We found that pull-obv demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.