Comparing version 0.1.6 to 0.1.7
{ | ||
"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]); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14791
84