
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
@basic-streams/ap
Advanced tools
ap<T, U>(streamf: Stream<(x: T) => U>, streamv: Stream<T>): Stream<U>
Creates a stream that will contain values created by applying the latest
function from streamf
to the latest value from streamv
every time one of
them updates.
import fromIterable from "@basic-streams/from-iterable"
import ap from "@basic-streams/ap"
const streamf = fromIterable([x => x + 2, x => x - 2], 10000)
const streamv = fromIterable([1, 2, 3], 8000)
const result = ap(streamf, streamv)
result(x => {
console.log(x)
})
// > 3
// > 4
// > 0
// > 1
// x => x + 2 x => x - 2
// streamf: _________._________.
// streamv: _______1_______2_______3
// result: _________3_____4___0___1
FAQs
ap operator for basic-streams
The npm package @basic-streams/ap receives a total of 0 weekly downloads. As such, @basic-streams/ap popularity was classified as not popular.
We found that @basic-streams/ap 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.
Research
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.