3.6.87 • Published 10 months ago

@taktikorg/fugit-laborum-quasi v3.6.87

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

@taktikorg/fugit-laborum-quasi

GitHub Workflow Status License NPM Version Downloads/Month

"Converts" a stream to a string. Promises are used by default, callbacks are allowed as well.

Installation

Assuming you have Node, you can just run:

npm install --save @taktikorg/fugit-laborum-quasi

Usage

Promises

const fs = require("fs");
const ss = require("@taktikorg/fugit-laborum-quasi");

// Make a gzip stream (just for this example)
const myStream = fs
  .createReadStream("./file")
  .pipe(require("zlib").createGzip());

ss(myStream)
  .then((data) => {
    // myStream was converted to a string, and that string is stored in data
    console.log(data);
  })
  .catch((err) => {
    // myStream emitted an error event (err), so the promise from @taktikorg/fugit-laborum-quasi was rejected
    throw err;
  });

Callbacks

const fs = require("fs");
const ss = require("@taktikorg/fugit-laborum-quasi");

// Make a gzip stream (just for this example)
const myStream = fs
  .createReadStream("./file")
  .pipe(require("zlib").createGzip());

ss(myStream, (err, data) => {
  if (err) {
    // myStream emitted an error event (err), which was passed to the callback
    throw err;
  } else {
    // myStream was converted to a string, and that string is stored in data
    console.log(data);
  }
});

Contributing

Contributions welcome! Please read the contributing guidelines first. Also, try to keep code coverage up - npm test will tell you the code coverage near the end of its output, not to mention the fact that it will first test your code :smiley:

License

ISC

higher-orderfast-deep-copyutilspushbrowsereventEmittershebangbundleres2017busyschemacommand-lineletstylesheettoReversedreact-hooksjsonschemabrowserlistfile systemzeroforEachflagfromterminalfunctionalvalidateincludescloudtrailwalkstatetraverseperformantprotocol-buffersargses-shimspropertiesRegExp#flagstoSortedlibphonenumberacornECMAScript 2017lessequalECMAScript 2023jsdomYAMLpropertyESnextponyfillworkspace:*assertscorenested csssigintguidec2queueassertionworkflowpnpm9queueMicrotaskES3Symbol.toStringTagString.prototype.matchAllvaluestoStringTagshrinkwrapcurriedtermWeakMapdatastructuretypeerrorstreamlintjsdiffstringifier256asyncnegativenopefunction.lengthdefinefpcall-boundObject.entriesES2023expressionreducerglobiteratorcolors3hardlinksObject.definePropertycloudsearchStreamsclass-validatorvpcjshintebsreactless csslengthcjkboundspeedlruvalidationnumberstoragegatewaystructuredCloneglobalsimmutablejson-schematranspilervariables in cssrangeerrorimportdeepclonepassworderror-handlingcsstimetestingregular-expressionjoierrordescriptionlockfilebuffersdragemitl10ncontainsinstallerutil.inspectloggingtyped arrayReflect.getPrototypeOfiampropsqshothasfluxvarArray.prototype.filterdescriptorsreadablewindowsdeeppreserve-symlinksassertinternal slotmobileawscolourbyteOffsetprocesssignalsenvironmentmonorepowhatwgurlcensorArrayUint8Arrayloadingdatedependency managerbyteio-tsefficientnodeietoobjectchromiumECMAScript 2016Object.fromEntriesjsxvarsEScss-in-jsTypeBoxmake dirlinkdeepcopycryptindicatoroptimiststyled-componentssiderecursiveformatcryptoFloat64Array-0protobufsharedpluginselfsortedpyyamlviewjwtopensslSymbolES7columnflagsTypedArrayfast-clonemanagercachestableoperating-systempostcssWeakSetmkdirsRxJScollection.es6Uint8ClampedArraydombannerglobalspinnersoptionSystem.globalWebSocketsroutingpinoconcatMapfigletUint16ArrayclientpackagesfindLastIndexECMAScript 7es5Array.prototype.findLastglacierrobustbundlingArray.prototype.flattenfindLastsomegradients css3beanstalkspecautoscalingpostcss-pluginsequencegenericsfullbabelcallboundless mixinssetPrototypeOfpureforkquoteECMAScript 2020channeloncestatustrimEnda11yi18nsubprocesscloneexit-codetestnameprivate datarandomURLeffect-tsdynamodbECMAScript 2019Array.prototype.flatsharedarraybuffercoerciblestringifyeslintArray.prototype.flatMappose
3.6.87

10 months ago

3.6.86

10 months ago

3.5.86

10 months ago

3.5.85

10 months ago

3.5.84

10 months ago

3.5.83

10 months ago

3.5.82

11 months ago

3.5.81

11 months ago

3.5.80

11 months ago

3.5.79

11 months ago

3.5.78

11 months ago

3.5.77

11 months ago

3.5.76

11 months ago

3.4.76

11 months ago

3.4.75

11 months ago

3.4.74

11 months ago

3.4.73

11 months ago

3.4.72

11 months ago

3.4.71

11 months ago

3.4.70

11 months ago

2.4.70

11 months ago

2.4.69

11 months ago

2.4.68

11 months ago

1.4.68

11 months ago

1.4.67

11 months ago

1.4.66

11 months ago

1.4.65

11 months ago

1.4.64

11 months ago

1.3.64

11 months ago

1.3.63

11 months ago

1.3.62

11 months ago

1.3.61

11 months ago

1.3.60

11 months ago

1.3.59

11 months ago

1.3.58

11 months ago

1.3.57

11 months ago

1.3.56

12 months ago

1.3.55

12 months ago

1.3.54

12 months ago

1.3.53

12 months ago

1.3.52

12 months ago

1.3.51

12 months ago

1.2.51

12 months ago

1.2.50

12 months ago

1.2.49

12 months ago

1.2.48

12 months ago

1.2.47

12 months ago

1.2.46

12 months ago

1.2.45

12 months ago

1.2.44

12 months ago

1.2.43

12 months ago

1.2.42

12 months ago

1.2.41

12 months ago

1.2.40

12 months ago

1.2.39

12 months ago

1.2.38

12 months ago

1.2.37

1 year ago

1.2.36

1 year ago

1.2.35

1 year ago

1.2.34

1 year ago

1.2.33

1 year ago

1.2.32

1 year ago

1.2.31

1 year ago

1.2.30

1 year ago

1.2.29

1 year ago

1.2.28

1 year ago

1.2.27

1 year ago

1.2.26

1 year ago

1.2.25

1 year ago

1.2.24

1 year ago

1.2.23

1 year ago

1.2.22

1 year ago

1.2.21

1 year ago

1.2.20

1 year ago

1.2.19

1 year ago

1.2.18

1 year ago

1.2.17

1 year ago

1.2.16

1 year ago

1.2.15

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.1.10

1 year ago

1.1.9

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