browser-stream-util
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "browser-stream-util", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"publishConfig": { | ||
@@ -33,11 +33,11 @@ "access": "public" | ||
"devDependencies": { | ||
"ava": "^5.1.0", | ||
"browser-ava": "^1.3.5", | ||
"c8": "^7.12.0", | ||
"documentation": "^14.0.0", | ||
"semantic-release": "^19.0.5" | ||
"ava": "^5.2.0", | ||
"browser-ava": "^1.3.27", | ||
"c8": "^7.13.0", | ||
"documentation": "^14.0.1", | ||
"semantic-release": "^20.1.1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/k0nsti/browser-stream-util.git" | ||
"url": "https://github.com/k0nsti/browser-stream-util" | ||
}, | ||
@@ -44,0 +44,0 @@ "bugs": { |
@@ -28,2 +28,4 @@ [![npm](https://img.shields.io/npm/v/browser-stream-util.svg)](https://www.npmjs.com/package/browser-stream-util) | ||
* [Parameters](#parameters-2) | ||
* [streamToUint8Array](#streamtouint8array) | ||
* [Parameters](#parameters-3) | ||
* [emptyStream](#emptystream) | ||
@@ -37,3 +39,3 @@ | ||
* `iterator` **(AsyncIterator<[UInt8Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)> | Iterator<[UInt8Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)>)**  | ||
* `iterator` **(AsyncIterator<[Uint8Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)> | Iterator<[Uint8Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)>)**  | ||
@@ -55,3 +57,3 @@ Returns **ReadableStream**  | ||
Read stream content into a string | ||
Read stream content into a string. | ||
@@ -65,5 +67,15 @@ ### Parameters | ||
## streamToUint8Array | ||
Read stream content into a Uint8Array. | ||
### Parameters | ||
* `stream` **ReadableStream**  | ||
Returns **[Uint8Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)**  | ||
## emptyStream | ||
Delivers a stream with no data | ||
Delivers a zero length stream with no data. | ||
@@ -70,0 +82,0 @@ Returns **ReadableStream**  |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
8246
83
91