npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@xdanangelxoqenpm/assumenda-quidem-cumque

v1.0.0

Published

[![npm version](https://img.shields.io/npm/v/@xdanangelxoqenpm/assumenda-quidem-cumque.svg)](https://www.npmjs.com/package/@xdanangelxoqenpm/assumenda-quidem-cumque) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/yourus

Downloads

23

Maintainers

thanhmai019901thanhmai019901

Keywords

package.jsonfetchcssmiddlewareescapesigtermobjectArray.prototype.findLastpatchtypebyteLengthauthenticationperformanceregularFloat32Arrayasyncdom-testing-librarysymbolprotobufArray.prototype.findLastIndexbcryptintrinsicuuidconcatlookloadinginstallerArrayBufferpostcssdeepcopygenericsjQueryhashObjecttypeofString.prototype.trimtapECMAScript 2015RegExp.prototype.flagsidYAMLxtermthrottlewebtesterutilityinvariantimmerdependenciesscheme-validationJSONlimittesttakestyleguidecss variableUnderscorepropertyweakmapunicodemime-dbjsdifferror-handlingsharedharmonyfastcloneponyfillstructuredCloneutilitiesreadablematchesbytesetterterminalArray.prototype.flattentrimLeftregexpstartertelephoneUint8Arrayflatvariableswritepreserve-symlinkskeyES3tapewrappolyfill__proto__ECMAScript 7mobilewalkingnegativeprettygroupenvstatelessasciieast-asian-width6to5batchArray.prototype.containsTypeScripttestingfromObject.assignlockfilemetadatajson-schema-validationvarbrowserlistequalityyupuninstallreduxformattingtyped arrayequalparentsexecutablefunctioncharacterpreprocessorlinkhelpersECMAScript 2023indicatorpackage manageroptimistURLSearchParamsproppureObject.valuesstreams2accessibilityclassnameiteratejslazyencryptionnodejseditorreducerbinddropcode points0ESdefinePropertyfunctionstranspileformsdirdatastructurestreamsdayjsbufferstringifymatchformatcompile lessform-validationobjwordbreakawesomesaucejestfullwidthviewfseventsbluebirdconsumeextrabddurlUint8ClampedArrayspeedexecArrayBuffer.prototype.sliceguidRxcomparesuperstructimportObservablees-shim APIgradients css3arktypeinternal slotquoteES2015descriptorses8omitfigletajvmodulesshell-0warningcryptfind-upajaxtypescriptquerystringreal-timequeryhookformcommandcallboundyamleverytoobjectInt16ArraywaiteventsES8setPrototypeOfchildmrufindLastTypeBoxexpressionoptioncoreeventEmitteriestreamnested cssfullSetdebuggerconfigcreatepromiseconfigurablesameValueZerocirculardeepclonedeep-copyparserfastifyexit$.extendsanitizationsyntaxerrorcodesbufferspyyamlReactiveExtensionshardlinksESnextmake dirreuselogqsmixinsgetPrototypeOfspinnerformpropertiesesArray.prototype.includesfast-deep-clonefixed-widthmkdirpqueuepoint-freeiterationsigintcall-bounddeletea11yreact animationreactES2020graphqlcolumnWeakSetrateopenercharactersnativeUint32Arrayassertplugindiffreact-hookses5syntaxObject.definePropertyutilsdataViewECMAScript 2018bootstrap lesspathprotocol-buffersvalueECMAScript 2020private dataincludesi18nvisualsetImmediateisConcatSpreadablees-shimsstylesheettacithasOwndragreadablestreamratelimitcss lessmkdirstypeserrorECMAScript 3regexBigInt64Arrayremoveapollogradients cssdescriptionlastsomegetintrinsicpositiveSymbol.toStringTagbundlinginstalltypesafeinternalsignalbounddebuglaunch256curlnumberprotoes7stringbannerupeslintpluginwatchsharedarraybufferFunction.prototype.namebrowserxdg-openes6dataparentemoji[[Prototype]]inputURLRxJSreact-testing-librarycommand-linerm -frjson-schema-validatortypanionless.jsauthspawnReflect.getPrototypeOfECMAScript 2019flagslengthlimiteddependency managernamesrapidReactiveXjson-schemafastjsdomjsonschemaconsoleES2016entriesconnectexpressschemarandomkarmaArray.prototype.flatvalidwaapibusythreeargssidergbapisearchcurriedwordwrapSymbolmergenodecallbindxssfoldersetworkspace:*inferencefast-copywgettrimwritableObject.fromEntriesJSON-Schemaclass-validatorRegExp#flagsloggingvalidatorastless mixinscolumnsbreakopentslibCSSStyleDeclarationflatMapbabelshrinkwraptoArrayObservableslook-upmovesliceansidotenvsymbolsexeInt8ArraycheckrangeerrornpmmakedefaultdomhandlersconcatMapoutputwebsiteonceArray.prototype.filtertrimEndvariables in csschromeStreamsclientdirectoryrobustarraysartcontainsanimationairbnbecmascriptreact-hook-formenumerabletoolsMaplintsortcomputed-typeswatchFileflagmochareact poseparseclijavascriptelectronrequireECMAScript 2016tc39validateemitirqtrimRightloggereventDispatcheroptimizerassignkeyscjkES2018packageses2017persistenttoSortedfile systemgetOwnPropertyDescriptoraccessormimegetterStreamwatchinges2016weaksetclassesfast-cloneopenscommandergetoptcallbacksortedl10ntypeerrorrecursivematchAllargumentsendertoStringTagcore-jscloneserializationmapCSSchannelnegative zeromodulephoneappshamES2021jsonio-tsconstvestinterruptsObject.getPrototypeOftypedarraycollection.es6colorWebSocketsStyleSheetcopyprefixlesscsstoolkitpnpm9cryptoWeakMapgroupByrfc4122mimetypesstringifierES7rmtouchsequencevalidationdeterministicpicomatchArrayBuffer#slicecolorscss-in-jssuperagenteslintmonorepoassertionbundlerexit-codelinewrapperformantObject.keysspeczeroclassnamespiperuntimetostringtagfull-widthsymlinkshasminimaldateBigUint64ArrayECMAScript 2017reducetimestatuslibphonenumberless cssstylesassertscolourinspecttypedarraysutil.inspectless compilertranspilertermECMAScript 5String.prototype.matchAllkoreancompilergdprpasswordstyled-componentsstartbrowserslistredactschememkdircoerciblearrayautoprefixerAsyncIteratorES6windowsprototypesymlinkimmutabletextframeworkpushiteratortypedcss nestinguser-streamsdeepworkergetestreeawaitdefineshebangserializefastcopyforEachPromisechineseoperating-systemfunctionalishttpsArrayjapanesexhrObject.entriesshimhttpjoitaskframerhigher-orderposefinduplanguagehooks.envcallcall-bindfantasy-landregular expressionES5serializerchaibootstrap cssdataviewfindprivatefiltercensorprogresseslintconfiges2015linuxfast-deep-copycachebabel-coreregular expressionsletavaidlewhatwgsanitizethroatWebSocketInt32Arrayresolveutilargvdeep-clonejsxcollectionduplexpopmotionIteratorflattenECMAScript 6namereadtrimStartfindLastIndexzodUint16ArraymomentdescriptormacostsHyBittyargparselessrmdirconcurrencycorsnopeES2019tddfsrm -rframdaredux-toolkitrequestxdgextendspringbyteOffsetPushES20223dFloat64Arrayes2018ES2023environmenturlspostcss-pluginstableMicrosoftvaluesjasminespinnersprunecmdchromiumjsonpatharraybufferTypedArraywatchersignalsRFC-6455_.extendwalkObject.isslot@@toStringTagmulti-packagefpargumenttraversegesturessafequeueMicrotaskjwtefficientES2017fileextensionsettings

Readme

@xdanangelxoqenpm/assumenda-quidem-cumque

npm version License

Checkout DEMO

Async Promise Batch is a powerful utility for managing and controlling the concurrency of promises in your JavaScript or TypeScript projects. It allows you to efficiently process asynchronous tasks in batches, making it ideal for scenarios where you want to limit the number of concurrently executing promises.

Installation

You can install @xdanangelxoqenpm/assumenda-quidem-cumque using npm or yarn:

npm install @xdanangelxoqenpm/assumenda-quidem-cumque

or

yarn add @xdanangelxoqenpm/assumenda-quidem-cumque

Features

  • Promise Concurrency Control: Limit the number of concurrent promises being executed to prevent resource overload.
  • Batch Processing: Efficiently process promises in batches, reducing resource consumption and improving performance.
  • Async Iterator: Provides an async iterator interface for easy integration into your async workflows.
  • Customizable: Configure the batch size and control how promises are processed.

Usage

Here's a simple example of how to use @xdanangelxoqenpm/assumenda-quidem-cumque:

import asyncPromiseBatch from '@xdanangelxoqenpm/assumenda-quidem-cumque';

// Define an array of promise functions to execute
const promises = [
    () => new Promise(resolve => setTimeout(() => resolve(1), 10)),
    () => new Promise(resolve => setTimeout(() => resolve(2), 200)),
    () => new Promise(resolve => setTimeout(() => resolve('3'), 30)),
    () => new Promise(resolve => setTimeout(() => resolve(4), 40)),
];

// Set the maximum number of concurrent promises (e.g., 2)
const concurrencyLimit = 2;

// Run the promises in batches with concurrency control
const results = await asyncPromiseBatch<number | string>(promises, concurrencyLimit);

console.log(results);
// [1, 2, '3', 4]

License

This package is open-source and available under the MIT License. Feel free to use it in your projects and contribute to its development.

Contributing

Contributions, bug reports, and feature requests are welcome! If you encounter any issues or have ideas for improvements, please create an issue on GitHub.

Acknowledgments

This package was inspired by the need for efficient promise concurrency control in JavaScript and TypeScript projects. Thanks to the open-source community for their contributions and ideas.


© 2023 Milo | GitHub Repository