Displaying 1 to 20 from 23 results

chillout - Reduce CPU usage in JavaScript

  •    Javascript

Reduce 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.

p-times - Run promise-returning & async functions a specific number of times concurrently

  •    Javascript

Returns a Promise that is fulfilled when all promises 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 order.Number of times to call mapper.

rr - A simple JavaScript component to iterate an array round robin.

  •    Javascript

A simple JavaScript component to iterate an array round robin.Sometimes you want to loop over an array and start at the beginning again.




each-async - Async concurrent iterator (async forEach)

  •    Javascript

Like 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.

filter-obj - Filter object keys and values into a new object

  •    Javascript

Source object to filter properties from.Array of properties that should be filtered from the object or a filter function. The function has the signature filterFn(sourceKey, sourceValue, source).


js-sorted-set - Sorted set data structures in JavaScript

  •    CoffeeScript

... this works, but it's a bit cryptic and some operations--notably iterate-- will be very slow with large sets. You can npm install js-sorted-set or bower install js-sorted-set. Alternatively, just download sorted-set.js from this directory.

genData - A normalization pattern to build, query, and manipulate everything.

  •    Javascript

An iteration utility with a rich callback environment. genData iterates a queue, beginning with the first parameter, then it's non-inherited members, then their non-inherited members, and so on - recursively and in depth-first order. Below is what genData outputs when a callback simply returns the current iteration value.

arr-map - Faster, node.js focused alternative to JavaScript's native array map.

  •    Javascript

Faster, node.js focused alternative to JavaScript's native array map. JavaScript's native Array.map() is slow, and other popular array map libraries are focused on browser compatibility, which makes them bloated or less than idea for non-browser usage. This implementation is focused on node.js usage keeping it light and fast.

for-in - Iterate over the enumerable properties of an object, and return an object with properties that evaluate to true from the callback

  •    Javascript

Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js

character-iterator - Iterate through text characters in the DOM tree

  •    Javascript

Iterate through text characters in the DOM tree. Handles parent & sibling relationships. Get the next character in the DOM starting at el with offset. If offset isn't specified it starts at 0. You can also set an optional root to contain the iterator.

objectify-array - Recursively convert arrays of objects into a single keyed object tree

  •    Javascript

you can specify options.by to be a function, this function will receive the element and should return the key to be used for this element.

redact-secrets - Deeply iterate over an object and redact secret values by replacing them with a predefined string

  •    Javascript

Deeply iterate over an object and redact secret values by replacing them with a predefined string. This module exposes a init function which takes a single argument: The string used as a replacement variable for values that are redacted.

json-schema-traverse - Traverse JSON Schema passing each schema object to callback

  •    Javascript

Callback function cb is called for each schema object (not including draft-06 boolean schemas), including the root schema, in pre-order traversal. Schema references ($ref) are not resolved, they are passed as is. Alternatively, you can pass a {pre, post} object as cb, and then pre will be called before traversing child elements, and post will be called after all child elements have been traversed. Without option allKeys: true callback will be called only with root schema.





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.