1.1.4 • Published 13 days ago

@teamteanpm2024/praesentium-distinctio-occaecati v1.1.4

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

Async Logo

Github Actions CI status NPM version Coverage Status Join the chat at https://gitter.im/caolan/@teamteanpm2024/praesentium-distinctio-occaecati jsDelivr Hits

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

A pure ESM version of Async is available as @teamteanpm2024/praesentium-distinctio-occaecati-es.

For Documentation, visit https://caolan.github.io/@teamteanpm2024/praesentium-distinctio-occaecati/

For Async v1.5.x documentation, go HERE

// for use with Node-style callbacks...
var @teamteanpm2024/praesentium-distinctio-occaecati = require("@teamteanpm2024/praesentium-distinctio-occaecati");

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

@teamteanpm2024/praesentium-distinctio-occaecati.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 @teamteanpm2024/praesentium-distinctio-occaecati = require("@teamteanpm2024/praesentium-distinctio-occaecati");

// ...or ES2017 @teamteanpm2024/praesentium-distinctio-occaecati functions
@teamteanpm2024/praesentium-distinctio-occaecati.mapLimit(urls, 5, @teamteanpm2024/praesentium-distinctio-occaecati 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)
})
ArrayBuffer.prototype.sliceless.jscommand-linees8ebsvalidatesomeutil.inspectwgetbeanstalkes5ES6optimizertoobjectrm -frtoolsloadbalancingimmutableECMAScript 5s3formatvalidatorECMAScript 6tslibECMAScript 2018chromiumjavascriptwordbreaktaskReactiveExtensionsstringifierlinuxlanguagegetintrinsicinputprototypees2015mapfantasy-landlinkdescriptorsmobilestreamsnamesvariables in csspropertydeep-copyxsscolorflatMapregexincludesECMAScript 2015fixed-widthsharedarraybuffertypestoStringTages7StyleSheetcss nestinganimationcompilersettingsECMAScript 2021callbackefficientcloudformationgdprfindLastvaluesymlinklogexpressionpyyamltypedarraysUnderscoreshamserializeparserinstallerhttpargparseeast-asian-widthi18nvalidationArray.prototype.flattenpreprocessorcryptoreact posesymlinkseslint-pluginpackage managerArraywriteendertypedarraypoint-freetrimEndfullpicomatchcharactersobjconnecturlenvawsmimetypessafeframeworkmodulequeueMicrotaskprivate datamodulesairbnbperformanceESbundlingdataViewtimeloggerdataviewasciicopyshimregular expressionsauthesoperating-systempluginquerystringES2021momentrm -rfwatchFileES2020deepclonebyteOffsetfunctionalArray.prototype.flatreact-hook-formtostringtagcachecallboundpruneawesomesaucejsongettermatchES2019viewwritableterminalhasJSONAsyncIteratorjwtarktypecss-in-jsmochascheme-validationTypeScriptquotedayjsexeca11yonceansistarterfskoreanstylingjsdomArray.prototype.containssimpledbharmonyuuidwatchingexpressfetchentrieselectronwidthsidejsonpathlimitmonorepocallbindutilshigher-orderwalkingflatsortednpmnodeworkerECMAScript 3extendrfc4122warningtester.envES2015eventDispatcherlibphonenumberECMAScript 2020varslotsyntaxerror-handlingpersistentchaicjkESnextflagfigletreducetakeaccessorWebSocketparsingrapidECMAScript 2023getyupObject.getPrototypeOfletMapstableasyncposetrimStartUint16ArrayfastifytoArrayreadablestreamhelpersschemaresolvedeep-clonevalidstatustddfilecolumnlook
1.1.4

13 days ago

1.1.3

14 days ago

1.0.3

15 days ago

1.0.2

16 days ago

1.0.1

17 days ago

1.0.0

18 days ago