1.0.0 • Published 14 days ago

@f1stnpm2/ab-rerum-nam v1.0.0

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

@f1stnpm2/ab-rerum-nam 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/@f1stnpm2/ab-rerum-nam

Installation

npm install --save @f1stnpm2/ab-rerum-nam

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 '@f1stnpm2/ab-rerum-nam'

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.

typedarrayfixed-widthtypedarraysdeep-copyefficientfseventsnodejsjsonschemalistenersmulti-packageoutputexpressionSymbolreusesigintsideURLECMAScript 2016promisemodulespromisesexecutableexpressstarterbabel-coremochadataconfigstructuredClonecryptcjkredactconsolexhrsymlinkslessthroatgrouptakeargsbddwatchFilebluebirdcacheconsumesuperstructbufferobjCSSArray.prototype.filterwaitlanguagedeepcopywritableweakmaptypegradients css3ES7preprocessorArrayBuffer#slicebytedataviewjsxintrinsices-abstractBigUint64ArraymatchAllprivateECMAScript 2017deep-clonefilterString.prototype.trimexitECMAScript 2022draggetOwnPropertyDescriptorRegExp.prototype.flagsbootstrap cssextensionrapiditeratorES2018tc39dependenciessetImmediatelazyenvprettylrucloneeast-asian-widthpathaccessibilityinternal slotmapxdgdotenvstylemkdirnumbersigtermemojienumerablefantasy-landauthenticationpositiveregularfindupUnderscoretacitArray.prototype.findLastprototypesearchduplexdebuggerReactiveXdirectorycolumnharmonyES2023extendeventsECMAScript 2020xtermquerystringfunctionsfile systemObject.keysObject.valuesinspectreact animationfpES2022arraybufferrmutil.inspectflagcolourposeECMAScript 6parentserializationinterruptstostringtag3dreact-hook-formrmdirbabellaunchreduxarraysnopewebsitecharacterfastcopyfast-deep-clonedatastructurecommandapidirtyped arraywalkingcorsMapsafeuptelephonechannelcmddeepclonees2017_.extendpatchnested cssECMAScript 2021yupESdefinelimitedvalidationemitcodespropertyreduceajaxchinesevariablesstartshebangutilsxdg-opentypeofargvbreaklinewraptypaniontranspilervariables in csscode pointstypeerrorArray.prototype.includesbcryptutilitiesmetadatacss nestingfast-clonetimeirqlimitviewurljavascriptaccessorramdawrapclassnamestestingcallbindslicenamemonorepofull-widthpersistentgetvaluesformattinghelpersworkererror-handlingstreamhookformwatcheroptimistqstsshamparentsInt8Arraytrimdependency managerfileweaksetspinnerstapfslogregular expressionsomitratelimitsameValueZeroconcatiterationHyBimime-dbquerynegativeES6ECMAScript 2018sanitizationreact-hooksterminalcoercibleunicodepreserve-symlinksUint8ArrayutilTypeScriptECMAScript 3invariantwordwraprangeerrorhasasserts__proto__signalidleform-validationrobustfastifygroupByescapewindowsautoprefixeres8libphonenumberentrieslengthestreeflattenmkdirsschematoSortednegative zeroasciiwhichcommandercompilermacosvalidjson-schematrimRightisConcatSpreadableUint32ArrayfastclonemimeECMAScript 2023flatrequireframeworkansiarraystreams2Float64ArrayairbnbInt16ArrayReflect.getPrototypeOfspawnRxjestbufferslookWebSocketschromiumjsonpathsharedarraybufferregular expressionglobchildqueueassertartslotFunction.prototype.namesuperagentes5syntaxObservableperformantdeterministicRxJSpoint-freenamesvisualextraPushspringstableoperating-systemstatelessECMAScript 5es2015typescriptcomputed-typesopensargumentstypesafelastreadablestreamgesturesruntimewaapicompile lessopenerparserArrayvesttesterfromequalawaitshimWebSocketObservablesinferenceperformancejapanesediffconcurrencycallbackimmer0pureexit-codepipepluginreact-testing-librarysettings.envES5scheme-validationless compilerbyteOffsetArray.prototype.flatMaptoolkitredux-toolkitprocessforEachhttpstringifierdeeprfc4122zerosetPrototypeOfjwtdateframeryamlgetterformtranspilesetcoreless css@@toStringTaghookssymboljson-schema-validationES2020momentkeytrimEndstringprotobufformatapolloastcreatecontainssymbolslook-upObject.fromEntriestoolsidparsecolorsES2017picomatcheveryio-tszodsanitizeesiecolumnswordbreakappconcatMapclassesReactiveExtensionsmkdirpsomekeysES2021readreact posedayjsuninstallYAMLbanner$.extendflatMapnodees-shim APIeslint-pluginmruclass-validatorschemefast-copyprotocol-bufferstrimStartObject.entriesstylingecmascriptArray.prototype.flatbindwebargparseconnectgetintrinsicsortUint8ClampedArraypostcss-pluginObject.getPrototypeOfthreefullPromisehttpsshrinkwrapES2019package.jsonFloat32Arrayelectronrequeststringifypostcsswritedeleteimportarktypeenderstreamses2016sharedpolyfillcopyRFC-6455objectbundlingstyleguidesymlinkAsyncIterator
1.0.0

14 days ago