Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

o-stream

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

o-stream - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

2

package.json
{
"name": "o-stream",
"version": "0.1.6",
"version": "0.1.7",
"description": "Intuitive node streams in typescript.",

@@ -5,0 +5,0 @@ "main": "./lib/main.js",

@@ -6,3 +6,4 @@ # O-Stream

`npm install --save o-stream`
Or save to development:
Or dev:
`npm install --save-dev o-stream`

@@ -13,3 +14,3 @@

```ts
import ObjectStream, {Output, TransformArgs, EnteredArgs, EndedArgs} from "o-stream"
import ObjectStream, { EnteredArgs } from "o-stream"

@@ -29,2 +30,4 @@ let incrementStream = ObjectStream.transform<number, number>({

```ts
import ObjectStream, { EnteredArgs, EndedArgs } from "o-stream"
let sum = 0;

@@ -50,2 +53,4 @@ let sumStream = ObjectStream.transform<number, number>({

```ts
import ObjectStream, { EnteredAsyncArgs, EndedAsyncArgs } from "o-stream"
let sum = 0;

@@ -80,3 +85,5 @@ let sumStream = ObjectStream.transform<number, number>({

```ts
import ObjectStream from "o-stream"
let stream = ObjectStream.fromArray([1, 2, 3, 5, 8, 13]);
```
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