New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@basic-streams/chain

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@basic-streams/chain - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

package.json
{
"name": "@basic-streams/chain",
"version": "0.0.5",
"version": "0.0.6",
"description": "chain operator for basic-streams",

@@ -5,0 +5,0 @@ "keywords": [

@@ -7,5 +7,4 @@ # [@basic-streams](https://github.com/rpominov/basic-streams)/chain

The given function `fn` will be applied to each value in the given `stream` to
create an intermediate stream. The resulting stream will contain all values from
all intermediate streams.
Creates a stream containing all values from all streams created by applying the
given function `fn` to each value in the given `stream`.

@@ -16,4 +15,4 @@ ```js

const stream = fromIterable([1, 2], 10)
const fn = x => fromIterable([x, x, x], 7)
const stream = fromIterable([1, 2], 10000)
const fn = x => fromIterable([x, x, x], 7000)

@@ -33,3 +32,2 @@ const result = chain(fn, stream)

//
// stream: _________1_________2

@@ -36,0 +34,0 @@ // fn(1): ______1______1______1

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc