Promise Modules and Patterns for Common Problem Solving


Summary of my bookmarked Github repositories from Feb 20th, 2017

Github repositories

  • sindresorhus/promise-fun

    promise-fun is a collection of promise modules and patterns for solving common problems. The available packages include pify for promisifying callback-style functions, delay for delaying a promise, p-map for mapping over promises concurrently, p-queue for controlling promise concurrency, p-retry for retrying a promise or async function, and many more. There are also .then/.catch-based packages like p-catch-if, p-if, p-tap, and p-log. If you need to run multiple async functions with limited concurrency, p-map is a recommended choice. It allows lazy creation of promises and provides concurrency control.