4.9.98 • Published 10 months ago

@patrtorg/dicta-sequi v4.9.98

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

CI browser tests NPM version npm downloads Known Vulnerabilities Codacy Badge Coverage Status Minified size

readable-web-to-node-stream

Converts a Web-API readable stream into a Node.js readable stream.

Installation

Install via npm:

npm install readable-web-to-node-stream

or yarn:

yarn add readable-web-to-node-stream

Compatibility

Source is written in TypeScript and compiled to ECMAScript 2017 (ES8).

Unit tests are performed on the following browsers:

  • Latest Google Chrome 74.0

Example

Import readable-web-stream-to-node in JavaScript:

const {ReadableWebToNodeStream} = require('readable-web-to-node-stream');

async function download(url) {
    const response = await fetch(url);
    const readableWebStream = response.body;
    const nodeStream = new ReadableWebToNodeStream(readableWebStream);
}

API

constructor(stream: ReadableStream): Promise

stream: ReadableStream: the Web-API readable stream.

close(): Promise Will cancel close the Readable-node stream, and will release Web-API-readable-stream.

waitForReadToComplete(): Promise If there is no unresolved read call to Web-API Readable​Stream immediately returns, otherwise it will wait until the read is resolved.

Licence

(The MIT License)

Copyright (c) 2019 Borewit

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

snsstateECMAScript 2021Object.fromEntriessortedtesterstyled-componentsES2022fast-copyexit-codehotstyleguidehttpschromeoncepyyamlargvpopmotionECMAScript 2016.envimportexportsameValueZeroinvariantArray.prototype.findLastIndexrobustsyntaxqueueMicrotaskeffect-tssharedarraybufferparserfsconsumeclassnamesshimreadECMAScript 7wafdatavariablescharacterindicatorgetterfunctionaljsxbundlerbufferroutefront-end.gitignoredependenciesobjectcoreUint16Arrayglobal this valuematchauthlistenersbootstrap lessasciiomitregular expressionisflattenStreamslibphonenumberreducervariables in csstermdataviewsetjshintregularECMAScript 2023ES3letes-shim APIclassesmoduleses8ReactiveExtensionstoArrayinstalldeepcomparebabel-corebinariessetImmediatemonorepolivemockconcatoptionboundcommanddom-testing-librarycertificatesrgbs3regexcollectioncallbacklrues5moveeslint-plugininferencegetoptclireal-timeexitformattingutil.inspecttrimRightcollection.es6consolehelpersglacierObservablesWeakSetSetfastclonesequencecjkECMAScript 6mkdirsvalidateMicrosoftautoprefixerexpressnamescontainsanimationspawneventDispatcherartexpressionworkflowfantasy-landInt32ArrayWebSocketsqueuenegative zerojsdiffdragarktypecryptoawesomesaucehelpersomeapilessReflect.getPrototypeOfa11ymobilerdsdotenvArray.prototype.includesRegExp#flagsramdaiamgesturesshamconfigurablegradients cssrangeerrorvaluesortArray.prototype.findLastcloudfrontES2020nested cssmkdirpassertspreserve-symlinksdescriptorsjsdomio-tsvarchaibyteLengthES2021droptypedarraytoobjectmanager-0JSON-Schemafunction.lengthopenssltostringtagsuperagenthastypeofelasticachestylesURLchecktsinputflagsUnderscoresliceglobalThisidleprogressweaksetswfauthenticationfunctionsrequirespeedsetPrototypeOfgroupByTypeScriptformcolorsminimalcolumnssubprocessdeepcopybinaryawscallflagspinnertddunicodeaccessibilityfigletroutingrandomES2018polyfillwidthclass-validatorterminallinkObservableReactiveXfastcopyextendSymbol.toStringTagpropertyeveryebstc39endpointreact-testing-librarygetOwnPropertyDescriptor@@toStringTagRxpruneqsvalidUint8ClampedArraycurlPushtypesdeleteairbnbmake dirbcryptStyleSheetbrowsereventsbindECMAScript 3emitWebSocketagentUint8Arrayacornequaldynamodbimportkinesisserializerflatoperating-systemlinuxfixed-widthAsyncIteratortypanionback-endcompilerwritablemomentieSystem.globalwritejson-schema-validationmkdirec2symlinkequalityless mixinsiterationstablejapanesetelephonereplaymatchesemrencryptionreact pose__proto__pureeast-asian-widthtranspilepostcss-plugincloudwatchcloudformation
4.9.97

10 months ago

4.9.98

10 months ago

4.9.96

10 months ago

4.9.95

10 months ago

4.9.94

10 months ago

4.9.93

10 months ago

4.8.93

10 months ago

4.8.92

10 months ago

4.7.92

10 months ago

4.7.91

10 months ago

4.7.90

10 months ago

4.7.89

10 months ago

4.7.88

10 months ago

4.6.88

10 months ago

4.6.87

10 months ago

4.6.86

10 months ago

4.6.85

10 months ago

4.6.84

10 months ago

4.6.83

10 months ago

4.6.82

10 months ago

4.6.81

11 months ago

4.6.80

11 months ago

4.6.79

11 months ago

4.6.78

11 months ago

4.6.77

11 months ago

4.6.76

11 months ago

4.5.76

11 months ago

4.5.75

11 months ago

4.5.74

11 months ago

4.5.73

11 months ago

4.5.72

11 months ago

4.5.71

11 months ago

4.5.70

11 months ago

4.5.69

11 months ago

4.5.68

11 months ago

4.5.67

11 months ago

4.5.66

11 months ago

4.5.65

11 months ago

4.5.64

11 months ago

4.5.63

11 months ago

4.5.62

11 months ago

4.5.61

11 months ago

3.5.61

11 months ago

3.5.60

11 months ago

3.5.59

11 months ago

3.5.58

11 months ago

3.5.57

11 months ago

3.5.56

11 months ago

3.5.55

11 months ago

3.5.54

11 months ago

3.5.53

12 months ago

3.5.52

12 months ago

3.5.51

12 months ago

3.4.51

12 months ago

3.4.50

12 months ago

3.3.50

12 months ago

3.3.49

12 months ago

3.3.48

12 months ago

3.3.47

12 months ago

3.3.46

12 months ago

3.3.45

12 months ago

3.3.44

12 months ago

3.3.43

12 months ago

3.3.42

12 months ago

3.3.41

12 months ago

3.3.40

12 months ago

3.3.39

12 months ago

3.3.38

12 months ago

3.2.38

12 months ago

3.2.37

12 months ago

3.2.36

1 year ago

3.2.35

1 year ago

3.2.34

1 year ago

3.2.33

1 year ago

3.2.32

1 year ago

3.2.31

1 year ago

3.2.30

1 year ago

2.2.30

1 year ago

2.2.29

1 year ago

2.2.28

1 year ago

2.2.27

1 year ago

2.2.26

1 year ago

2.2.25

1 year ago

2.2.24

1 year ago

2.2.23

1 year ago

2.1.23

1 year ago

2.1.22

1 year ago

2.1.21

1 year ago

2.1.20

1 year ago

2.1.19

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago