1.0.0 • Published 1 year ago

@landmineaknpm2/error-optio-quidem v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@landmineaknpm2/error-optio-quidem 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/@landmineaknpm2/error-optio-quidem

Installation

npm install --save @landmineaknpm2/error-optio-quidem

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 '@landmineaknpm2/error-optio-quidem'

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.

assertcss lessMapcallbackbannersearchmergefastifybundlerclisignalonceES2018stringifyinterruptsbrowseremrregexplastdeleteeslint-pluginsetterES7replayimportmapprettyStreamsrobustisbufferslockfilemkdirpES3stylingflagsTypeBoxdebuggerdotenvsharedvisuales2015folderindicatorserializeflatreadmiddlewaremimetypesconcatMappackagereadablestreamgradients css3shimcommanderstatusawesomesaucepathimportexporttslibclass-validatordateargparseinkeystypedarraysterminaldomdropstylesapiformless compileres-shimscheckparsercollection.es6YAMLexecinternal slotvalidateurlhashauthenticationomitvariableses8fixed-widthcorsclonetrimEndnamextermdependency managerform-validationreact-testing-librarycallhttpsavawritableeast-asian-widthairbnbprocessgetPrototypeOfsortsinatraendpointyamles2016safecomputed-typesmimewhatwgtypedarrayutilparsefunctionutilityebswaittestECMAScript 2017zerofast-deep-cloneperformancevaluesroutingzodreact-hooksstreams2entriessymlinksiamArray.prototype.findLastgetterArray.prototype.flatMapformatbundlinglazyfull-widthdescriptorworkerinstallerstructuredClonefunctionsfetchtouchs3linkvestES2015rfc4122numberarraybufferstringfullESfseventsopendatastructurecloudtrailformattingasyncelectronconfigpromisesdeepclonecolourenvironmentprotocryptloadingforms_.extendmatchmkdirsfromponyfilllibphonenumberes5argumentfscoerciblepolyfillArrayhardlinkstermloadbalancingparentbreakRegExp.prototype.flagsbcryptoptionArray.prototype.filterdefinewordwrapcryptoincludesfluxmetadatadeterministicequalcjkECMAScript 6commandcopytimetypeofttystyleStreamchaimrubdddom-testing-librarysnsshrinkwrapnpmcreatepreprocessorlesstoStringTagflatMapcss variableroute53cloudfrontObject.ispromisecolumnBigUint64ArrayglobresolvegroupRxJShassyntaxerrorspinnerwindowsprivate dataratelimitsome$.extendcharactersbluebirdcolumnsidleArray.prototype.findLastIndexdependenciescssqsoffsetprivatedeepuuidjwtless mixinsexit-codeisConcatSpreadableencryptionstyleguideecmascriptschemequeueMicrotasklimitcloudsearchvariables in csscomparevalidvaluedirbyteOffsetpackage.jsonsigtermjsonpathregularWeakMapsorteddataViewcommand-lineelasticacheCSS-0Function.prototype.namespecdeepcopyArrayBuffer.prototype.sliceeslintconfigaccessorwatchingmkdirminimalvalidationJSON-SchemaargvstablekoreanFloat64ArrayserializationUint8ClampedArraycode pointsautoprefixerargsastrestfuleventsBigInt64Arrayextrabootstrap lessjapanesergbdescriptionbeanstalkstyled-componentsregexec2Int32ArrayperformantframeworkObject.definePropertyruntimecloudformationkinesischinesespeedconsoleexitRegExp#flagsprogressobjectpackage managertypescriptnodejstaskhas-ownReflect.getPrototypeOfjoiECMAScript 7accessibilityfast-deep-copywidthpatchprefixquerystringthroatES2022fileobjpreserve-symlinkslinewrapequalitycodesjsdomquotesetImmediateworkflowidconcatjQuerysuperstructES2019i18ntostringtagcall-bounditeratortoolkitstatelesssqsserializerbatchregular expressionWebSocketsviewunicodeeventEmittermime-dbfindLastECMAScript 2023ObservableURLSearchParamsfast-copyhotasciihandlerswrapstylesheetsharedarraybufferUint16Arrayrm -frsyntaxES5directorytyped arraydebugtypesafecurlboundcss-in-jsnativesymbolintrinsicarktypetypeerror.envURLwordbreakbusyreusetoobjecttrimLeftcharactertrimreact-hook-formcore-jsstreamsUint32ArrayshamescapeeventDispatcherSymbolchannelRxcollectionwatchFilepnpm9schematapprotocol-buffersjsxsequencerecursivecallbindes2018mapreduceansiroutesliceextensionkeysetgetoptdefinePropertyredactArrayBuffer#slicestoragegatewayrapidjsdiffprunepropertiesmulti-packagebindreal-timetestingfind-uptrimStartreadabledataviewxhrECMAScript 5rdsinferenceoptimizerPushgradients cssInt8ArraydifftoolsTypeScriptECMAScript 2018autoscalingauthoptimistcompilerwatcherstatefast-clonejavascripthooksloggernested cssjsonclassnamesnopekarmawafStyleSheetrateassignforEachbootstrap csswatchwhichcloudwatchshelltypestoArrayreducemomentnodejestcensortypeinternalendercircularES6ECMAScript 2016util.inspecttypedrequestwebless.jsObject.entriesemitWebSocketsignalsconcurrencynegativelivelrufastchromiumswf0findupiterationless csslook-upimmutableHyBipropertyprotobufrangeerrorrequireES8hookformamazonfindsuperagentgetdynamodbwarningmatchAllbyteLengthArray.prototype.includesReactiveExtensionscompile lessfile systemwalkingECMAScript 2021yuplesscssES2017css nestingextendmixinses-shim APImonorepowgetObject.valuesfullwidtherrores2017jasminetestermobileReactiveXIteratorwalkArray.prototype.flattenstdlibplugincore__proto__pyyamlsameValueZeroArrayBufferassertsestreeECMAScript 2020functionalCSSStyleDeclarationhasOwnsescall-bindexpressionirqupObjectdeep-clonephonepipeguidtrimRightregular expressionslogremovemodulesTypedArrayworkspace:*predictableerror-handlingajaxmacossettingsthrottleflagString.prototype.trimweakmapESnexttc39weaksetfastcopybyteUnderscorequerytraversepositivegroupBynamesarrayssimpledblookjsreduxiterateelmES2020PromisebrowserslistWeakSetuninstallcolorsmakerouterglacieroperating-systemlanguageconfigurablesigintfastclonefigletflattenrmdirpackagesMicrosoftsymbolsdatadeep-copyObservablesimmer
1.0.0

1 year ago