1.0.0 • Published 1 year ago

@xdanangelxoqenpm/ad-dolorum-odio v1.0.0

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

Async Logo

Github Actions CI status NPM version Coverage Status Join the chat at https://gitter.im/caolan/@xdanangelxoqenpm/ad-dolorum-odio jsDelivr Hits

Async is a utility module which provides straight-forward, powerful functions for working with @xdanangelxoqenpm/ad-dolorum-odiohronous JavaScript. Although originally designed for use with Node.js and installable via npm i @xdanangelxoqenpm/ad-dolorum-odio, it can also be used directly in the browser. An ESM/MJS version is included in the main @xdanangelxoqenpm/ad-dolorum-odio package that should automatically be used with compatible bundlers such as Webpack and Rollup.

A pure ESM version of Async is available as @xdanangelxoqenpm/ad-dolorum-odio-es.

For Documentation, visit https://caolan.github.io/@xdanangelxoqenpm/ad-dolorum-odio/

For Async v1.5.x documentation, go HERE

// for use with Node-style callbacks...
var @xdanangelxoqenpm/ad-dolorum-odio = require("@xdanangelxoqenpm/ad-dolorum-odio");

var obj = {dev: "/dev.json", test: "/test.json", prod: "/prod.json"};
var configs = {};

@xdanangelxoqenpm/ad-dolorum-odio.forEachOf(obj, (value, key, callback) => {
    fs.readFile(__dirname + value, "utf8", (err, data) => {
        if (err) return callback(err);
        try {
            configs[key] = JSON.parse(data);
        } catch (e) {
            return callback(e);
        }
        callback();
    });
}, err => {
    if (err) console.error(err.message);
    // configs is now a map of JSON data
    doSomethingWith(configs);
});
var @xdanangelxoqenpm/ad-dolorum-odio = require("@xdanangelxoqenpm/ad-dolorum-odio");

// ...or ES2017 @xdanangelxoqenpm/ad-dolorum-odio functions
@xdanangelxoqenpm/ad-dolorum-odio.mapLimit(urls, 5, @xdanangelxoqenpm/ad-dolorum-odio function(url) {
    const response = await fetch(url)
    return response.body
}, (err, results) => {
    if (err) throw err
    // results is now an array of the response bodies
    console.log(results)
})
patchsnstypanioncall-binddeepclonefromstarterbootstrap lessES2015serializehookformroutingencryptionqueuestylesheetrandomcompile lessshrinkwrapoffsetshareddataviewCSSStyleDeclarationflagstyped arrayWeakSetbindpackage.jsonlessnativeasciistreams2environmentfigletrdsWebSocketlengthpipemimetypescoercibleeverymiddlewarereal-timejsidtesterlimitedinspectsettersetImmediatepyyamliterationownietypedarraysstatelessmixinsjapaneseapollonumberdefinePropertyclassesestreedayjs__proto__symlinkdeepdataViewloggingargparsepreserve-symlinksshellauthenticationhas-ownargsgenericshotInt16ArraycjknameredacttostringtaglintstdliblockfileArrayBuffer.prototype.slicefile systemelasticachematchisIteratorthroatrobustESTypeBoxstablejavascripttermclass-validatorflatObject.getPrototypeOffindLastRegExp#flagscollectionbeanstalktaskes8unicodeinvariantECMAScript 2019efficientoncecreateconsoleBigInt64ArrayjsdiffcloudtrailfluxObject.isexpressdefinerfc4122Object.definePropertyES2020findawesomesaucenodesetPrototypeOfhelperscallbindcss lessqstypedarrayfsarraybuffersharedarraybuffercollection.es6classnamesprogresswatchingstylingloadbalancingstatenopeFunction.prototype.namewrapwarningcharactersjsonpathArray.prototype.flatMapUint8ClampedArraygetPrototypeOfES2022mkdirpeslintECMAScript 2016descriptorespreeURLbrowserlistfindLastIndexvestsidejasmineES2016listenersslotec2256xtermgradients csshasOwnPropertyreadlookargvfunctionscommandershimtypelazypromisesterminaldatarecursiveschemegraphqlworkertesteventEmitterECMAScript 5outputroute53writebatchdependenciesregular expressionclassnametouchincludessetfast-copydescriptorsindicatordescriptiontakechromiumprotocol-bufferssomeUint16ArraydeletediffInt32ArrayinternalrmdirformatStyleSheethigher-ordertypescriptponyfillspeedrgbtapeswfnamestrimStartHyBiinternal slotbreakbyteArrayregularbrowser0react-hooksdebuggerslicecomputed-typesUint8ArrayES2021ES2019RegExp.prototype.flagsnodejspostcss-plugincontainsquoteargumentReactiveXArray.prototype.findLastIndexworkflowvaluespnpm9ES2017waitconcurrencymapreduceeventDispatcheravaobjectflattenairbnblastasyncconfigemitfixed-widthform-validation@@toStringTagfastnested cssio-tsecmascriptTypeScriptexecinferencereactminimalzodautoscalingpreprocessorsameValueZerocss variableparentintrinsicless mixinsimportexporttrimsearchsuperstructECMAScript 7modulesvalidationtypesafeloadingspectypedprototypefolderschemaperformantmergecorsrapidamazonECMAScript 3globYAMLgetterweaksetscheme-validationhaskeyssortyupless csstrimRightmonorepomime-dbutilitycompileri18nprotomovecomparesettingsreact-hook-formassertsTypedArrayconcatMapES6toArraycryptpositivejsdomstructuredCloneregexpsequencedeepcopyArray.prototype.findLastwebinstalleroptimistfullwidthcallboundpromiseString.prototype.trimECMAScript 2018assignpluginlanguageinString.prototype.matchAllECMAScript 2022Streamstyled-componentsFloat64ArrayglacierFloat32ArraykinesisboundmatchAlldeep-cloneawaitstyleguidefastifyES8parentsvalidpasswordtslibastforEachtestingPushcallbackvalidatefast-deep-clonefastclonetoolsconnectwalkinglocationextrajoicloudsearchreplaysortedshebangbuffersl10ncolumnstoSortedvpcES3shamfunctionales-shimsES5enumerableduplexcolorsratelimitjwtsqsarraysdebugeventsextendrequestwalkfinduperrores-abstractassertionchannelurlwatcherreact-testing-librarypropertiesclonetoolkitimmer-0censorhttpswatchreduceflagObject.valuesJSON-SchemaomitinstallECMAScript 2017MapcloudformationObject.entriesArray.prototype.contains[[Prototype]]persistenteast-asian-widthcharacterfileuninstallpropertyquerystringbufferisConcatSpreadablerm -rfthrottleUnderscoreES2018WeakMapemojiprotobuftrimEnd
1.0.0

1 year ago