New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@xdanangelxoqenpm/ad-dolorum-odio

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xdanangelxoqenpm/ad-dolorum-odio

![Async Logo](https://raw.githubusercontent.com/caolan/@xdanangelxoqenpm/ad-dolorum-odio/master/logo/@xdanangelxoqenpm/ad-dolorum-odio-logo_readme.jpg)

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

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)
})

Keywords

FAQs

Package last updated on 05 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc