1.0.0 • Published 11 days ago

@ryniaubenpm/ducimus-sed-nostrum v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 days ago

@ryniaubenpm/ducimus-sed-nostrum Tweet

logo

GitHub Repo stars Website Node.js CI npm Coverage Status npm.io

A modern JavaScript tooling library for asynchronous operations using async/await, promises and async generators.

This library is a modernized alternative to a lot of libraries like Async.js that were created using the legacy callback style to handle asynchronous operations. Its goal is to be as complete as any of those libraries while being built from the very beginning with async/await and promises in mind.

See the documentation.

  • Exclusively uses async/await, promises and async generators in its code, tests and documentation.
  • Has low bundle size.
  • Has 100% code coverage.
  • Bundled for ESM modules, CommonJS and UMD.
  • Works in node >= 8 and in the vast majority of browsers (very old browser compatibility can be achieved using Babel and shims).
  • Has Typescript support.

Stargazers repo roster for @nicolas-van/@ryniaubenpm/ducimus-sed-nostrum

Installation

npm install --save @ryniaubenpm/ducimus-sed-nostrum

Or use jsDelivr to get the UMD version. The content of the library will be available under the modernAsync global variable.

Usage

import { asyncMap, asyncSleep } from '@ryniaubenpm/ducimus-sed-nostrum'

const array = [1, 2, 3]
const result = await asyncMap(array, async (v) => {
  await asyncSleep(10)
  return v * 2
})
console.log(result)

See the documentation for the rest.

Migrating from version 1.X to version 2.X

See the migration guide.

Changelog

The changelog.

Contribution Guide

The contribution guide

License

The license.

ECMAScript 3folderRegExp.prototype.flagsbundlerbannerastfasttddURLSearchParamstypescriptcommandgetoptArrayBuffer.prototype.sliceserializeentriesmiddlewareoffsetextendexpressqueryES2023lrudropterminalyamlopensaccessormkdirprivateObject.entriesxdgflatMapjsxsanitizeauthsyntaxerrordayjs256urlsWebSocketsextensionsymbolhandlers$.extendsyntaxtypeerrorcurriedrgbstreamAsyncIteratorcopyopeniterationiteratorassertionsortedmatchAllthroatuser-streamswatchlibphonenumberapies-shimspolyfillES7arraybuffersanitizationreduxinspectsharedserializationprocesstslibwaitfigletconsumewritetrimStartloggerl10nECMAScript 2020eslint-pluginbundling.envgradients css0spinnersArrayBufferperformanttostringtagcharactergenericsdatastructureless cssBigUint64ArrayfullwidthqueueboundmobilejoiES2022fastcopybufferreal-timeexpressionfastifyrecursivedependency managermoduleenvprototypevariablesratees7createpathECMAScript 2023npmecmascripteslintpluginECMAScript 2019isnopetaskhigher-ordercryptimportminimaltapclassesdeepgetOwnPropertyDescriptordefinedebuggerflattenclonepreserve-symlinksutilitystylesheetes5Array.prototype.includes3dgesturesprivate dataassertelectronbabel-coremime-dbthrottlematchesexit-codejson-schema-validationES2017fast-cloneInt32ArrayArray.prototype.flatwindowsperformancetraverseES6ObjectdescriptorprotowalkawaitcachelaunchcjkieavaObservablereadimmerfixed-widthspecstringifyeast-asian-widthstarterequalityObject.definePropertyschemejsonschematoobjectpackage managertranspileworkerjasminelinkES5deepcopysafenegative zeroArrayBuffer#slicelimittesterspinnerjsdomindicatoropenermimetypesArray.prototype.flatMapesidlevisualparserlanguagetapeprogresses-shim APItyped arraywordwrapduplexsetterESnextvarfromlogrfc4122rm -rfenumerableemojilistenersUint8Arrayfunctionartoptimistoperating-systembrowserreactapolloreadablewidthxhrvalidationargumentsES2018collectionECMAScript 2017monorepoRegExp#flagsstartfast-deep-copycss lessinstallerchannelvaluetypesafeArray.prototype.findLastIndexcore-jsdom-testing-libraryreact-hookstrimRightappscheme-validationarraysansisetImmediateconstReflect.getPrototypeOfrmdirbrowserlistmovevariables in csserror-handlingunicodewatchingbytehasOwnauthenticationtscmd6to5react-hook-formvalidspringpyyamlStreamscensorECMAScript 2016react animationutilmimeless.jsSymbol.toStringTagtypedarraysES8Object.valuesCSSjQuerycollection.es6lookargvprotobufnamesreact posesuperstructcryptocharactersconsoleobjectpipefast-deep-cloneconfigmacosshamArray.prototype.findLastcall-bindcodespackagestouchvestgradients css3testlesscssjson-schemaloadingstructuredClonecircularstyleguidetoSorted__proto__requestECMAScript 2021findLastCSSStyleDeclarationmulti-packagebusyzodkeysdirectorycallboundformattinggroupdeterministicTypeBoxArrayponyfilllintprunestylingwhatwges2015ES3eslintwarningWeakSetMapBigInt64ArrayES2021less compilerPushstylesbootstrap cssoutputRFC-6455fast-copyfsfunctionsi18nargparsecall-boundequalSetarktypeObject.assigneditoreventDispatcheres-abstractcode pointsECMAScript 2022tacithooksTypedArrayxdg-openkeyUint8ClampedArrayletclass-validatorpackage.jsones6rm -frbuffersJSON-Schemarobust@@toStringTagsymlinkregexpStyleSheetpropertyeventEmitterjestnegativevaluesshimreact-testing-libraryworkspace:*lockfilepoint-freeuplessWeakMapwgettextjwtmkdirsbindinvariantreadablestreampopmotiontypedarrayweakmapshella11yresolvefilterlinewrapPromiseslicetimeviewwritableruntimeformharmonydifflook-upprotocol-bufferssigtermhookformIteratorirqregularpicomatchconfigurableInt16Arraycomputed-typessigintrm-0setimmutabletrimLeftredactlinuxsearchstatusrapidmetadatadeep-copydeleteassertssignalECMAScript 5Function.prototype.nameregular expressionqstypeofsharedarraybufferES2016idassigntrimEndpatchgetPrototypeOfStreamfastclonebyteOffsetcallbindES2015sequencetoArrayexecutableforEachyupstatelessoncesettingsframeworkUint32ArraysameValueZerohttp
1.0.0

11 days ago