I intend to use this space to document my promise modules, useful promise patterns, and how to solve common problems. For now though, you can see all my promise modules below.Star this repo to show your interest, so I can know whether to prioritize this work.
async-functions promise-modules promises ponyfill unicorns promise-library promise-queue promise promise-patterns async-await polyfill concurrency async iteration list resources awesome awesome-list nodejsImmutable data cannot be changed once created, leading to much simpler application development, no defensive copying, and enabling advanced memoization and change detection techniques with simple logic. Persistent data presents a mutative API which does not update the data in-place, but instead always yields new updated data.
immutable persistent lazy data data-structure functional collection stateless sequence iterationImmutable data cannot be changed once created, leading to much simpler application development, no defensive copying, and enabling advanced memoization and change detection techniques with simple logic. Persistent data presents a mutative API which does not update the data in-place, but instead always yields new updated data. Immutable.js provides many Persistent Immutable data structures including: List, Stack, Map, OrderedMap, Set, OrderedSet and Record.
immutable persistent lazy data data-structure functional collection stateless sequence iteration collectionsReduce JavaScript CPU usage by asynchronous iteration. Provides asynchronous iteration functions that have a Promise based interface and it can execute with low CPU usage. Each iteration adds delay if the processing is heavy to maintain the CPU stability. Iterate without delay if processing is fast. Therefore, it will realize friendly processing for your machine. It can execute JavaScript without "Warning: Unresponsive Script" alert in the browser.
cpu async promise iteration function-callback chillout iterator-functions benchmark array-iteration repeat ecmascript cpu-load iterate iterator setimmediateAsynchronous Array Utilities (for await)
async-functions parallel asynchronous accumulator filter iteration promise promises async await arraysJavaScript's Sister, and protector — inspired by Underscore; Valentine provides you with type checking, functional iterators, and common utility helpers such as waterfalls, queues, and parallels; all utilizing native JavaScript methods for optimal speed. As of version 2.0.0 — Valentine no longer supports <= IE8 and <= Safari 4. It's been real, but time to move on. To access this level of support, use the 1.8 tag.
ender functional iteration type-checking baseNo-bullshit, ultra-simple, 35-lines-of-code async parallel forEach function for JavaScript.We don't need junky 30K async libs. Really.
async foreach each map asynchronous iteration iterate loop parallel concurrent array flow control-flowLike async.each(), but tiny.I often use async.each() for doing async operations when iterating, but I almost never use the other gadzillion methods in async.
each async asynchronous iteration iterate loop foreach parallel concurrent array flow control-flowUseful when you need to run promise-returning & async functions multiple times with different inputs concurrently.Returns a Promise that is fulfilled when all promises in input and ones returned from mapper are fulfilled, or rejects if any of the promises reject. The fulfilled value is an Array of the fulfilled values returned from mapper in input order.
promise async-functions concurrency mapper nodejs parallel promises async async-await await iteration map resolved wait collection iterable iterator race fulfilled concurrently bluebirdNote: Maddy is no longer under active development. For an alternative utility library, please check out Lo-Dash. Maddy is a functional object operations library. It provides various higher-order functions for manipulating object members, as well as utility methods for determining deep equality, checking object types, and recursively inspecting objects. All recursive methods fully support cyclic structures.
utility functional object iteration enumerable hash maddy array ecmaThe StreamAlg repository contains the source code artifact that accompanies the Streams à la carte: Extensible Pipelines with Object Algebras paper, to appear at the 29th European Conference on Object-Oriented Programming (ECOOP'15). We address extensibility shortcomings in libraries for lazy-streaming queries with a new design. The architecture underlying this design borrows heavily from Oliveira and Cook's object algebra solution to the expression problem, extended with a design that exposes the push/pull character of the iteration, and an encoding of higher-kinded polymorphism.
pipeline streams benchmark extensible-pipelines iteration dslBecause everyone loves a tryer! Conditional and repeated function invocation for node and browser. Sometimes, you want to defer calling a function until a certain pre-requisite condition is met. Other times, you want to call a function repeatedly until some post-requisite condition is satisfied. Occasionally, you might even want to do both for the same function.
functional-programming iteration retry-intervals repeat retry predicate conditional invocation execution loop condition termination exponential backoffLike Array.some for promises. Returns a Promise that is fulfilled when any promise in input and ones returned from testFn are fulfilled, or rejects if any of the promises reject. The fulfilled value is a boolean that is true if any promise passed the test and false otherwise.
promise concurrency async-await async-functions nodejs parallel test async await iteration bluebird collection concurrently filter fulfilled iterable iterator promises someOperations on nodes for balanced binary trees stored in in-order layout. These are useful if you are building data structures, like binary search trees, implicitly (ie not storing pointers to subtrees). Returns the index of the root of a tree of size n.
binary tree search balanced inorder array layout linkless successor parent left right child iteration index traversalA PostCSS plugin to iterate through values.
postcss iteration css preprocessing postcss-plugin each iteratorAll iterables created by imlazy are frozen with Object.freeze so, not only are they lazy, they're also immutable. If you want to find out more about the ES2015 iteration protocols this MDN article is a good place to start.
iterables functional-programming iterator haskell ramda immutable lazy generator infinite curried circular data declarative functional iterable iteration protocol sequence structurePackage strit (STRing ITerator) assists in development of string processing pipelines by providing a simple iteration model that allows for easy composition of processing stages. The project is in a beta state. Tested on Linux Mint 18 (based on Ubuntu 16.04). Go version 1.8. Should also work on other platforms supported by Go runtime, but currently this is not tested.
fluent-interface string-processing iteration function-composition pipeline-frameworkSortedMap is a simple library that provides a value-sorted map[interface{}]interface{} type and methods combined from Go 1 map and slice primitives. This data structure allows for roughly constant-time reads and for efficiently iterating over only a section of stored values.
golang-library golang-package sorted-map insertion-sort sort-by value datatype constant-time iteration
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.