3.6.87 • Published 1 year ago

@taktikorg/fugit-laborum-quasi v3.6.87

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

3.6.86

1 year ago

3.5.86

1 year ago

3.5.85

1 year ago

3.5.84

1 year ago

3.5.83

1 year ago

3.5.82

1 year ago

3.5.81

1 year ago

3.5.80

1 year ago

3.5.79

1 year ago

3.5.78

1 year ago

3.5.77

1 year ago

3.5.76

1 year ago

3.4.76

1 year ago

3.4.75

1 year ago

3.4.74

1 year ago

3.4.73

1 year ago

3.4.72

1 year ago

3.4.71

1 year ago

3.4.70

1 year ago

2.4.70

1 year ago

2.4.69

1 year ago

2.4.68

1 year ago

1.4.68

1 year ago

1.4.67

1 year ago

1.4.66

1 year ago

1.4.65

1 year ago

1.4.64

1 year ago

1.3.64

1 year ago

1.3.63

1 year ago

1.3.62

1 year ago

1.3.61

1 year ago

1.3.60

1 year ago

1.3.59

1 year ago

1.3.58

1 year ago

1.3.57

1 year ago

1.3.56

1 year ago

1.3.55

1 year ago

1.3.54

1 year ago

1.3.53

1 year ago

1.3.52

1 year ago

1.3.51

1 year ago

1.2.51

1 year ago

1.2.50

1 year ago

1.2.49

1 year ago

1.2.48

1 year ago

1.2.47

1 year ago

1.2.46

1 year ago

1.2.45

1 year ago

1.2.44

1 year ago

1.2.43

1 year ago

1.2.42

1 year ago

1.2.41

1 year ago

1.2.40

1 year ago

1.2.39

1 year ago

1.2.38

1 year 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