Iterate all the data in a stream
iterate all the files
Converts an iterable, iterable of Promises, or async iterable into a Promise of an Array.
Iterate any JS iterator. Works robustly in all environments, all versions.
Iterate any iterable JS value. Works robustly in all environments, all versions.
`Array#forEach()` but it’s possible to define where to move to next
A tiny, zero-dependency yet spec-compliant asynchronous iterator polyfill/ponyfill for ReadableStreams.
A convenient way to iterate objects.
A polymorphic iterate operator for arrays and other iterables
Iterate through the values of a stream
Array methods for ES6 Iterators
JavaScript SDK for the Seam API written in TypeScript.
Extended iterable class, providing lazy array-like methods with automatic async and return/throw forwarding
Iterate values in a list in random order
Simplify your schema by combining allOf into the root schema, safely.
Redact sensitive npm information from output
A dictionary of file extensions and associated module loaders.
Callbag operator that applies a transformation on data passing through it
Simple in-memory vinyl file store
Iterate directory up.
LaunchDarkly SDK for JavaScript - common code
A history of deployments of the Delegation Framework
Find multiple RegExp matches in a string
Even more Helpers for dustjs-linkedin package: iterate, all, some, range, contains
Parallel iteration methods (map, each, select, reject, find, flat_map, any?, all?, none?, count, reduce) with a configurable thread pool. Results maintain input order.
You can get individual issues or all issues for an iteration. see --h for more info
Config fluentd in ruby. And featuring all programming features (variables, iterators, functions, regexp, etc) in ruby.
Provide a similar way to config HCL (HashiCorp Configuration Language) in ruby. And featuring all programming features (variables, iterators, functions, regexp, etc) in ruby.
Provides the class IterableArray, which implements all of the methods of Array (as of Ruby 1.9.3) in an iterable-aware fashion. I.e., behavior is defined to the greatest extent possible for operations that modify an IterableArray from within an iteration block (e.g. each, map, delete_if, reverse_each). To use, call #to_iter on a pre-existing Array or use IterableArray.new; the IterableArray should act identically to a regular Array except that it responds logically to modifications during iteration.
Appointment-Calculator gem takes in an object of services, each object has different duration and cost. Appointment-Calculator iterates through all the objects, retrieves duration and cost of each and sums them to calculate total_cost and total_duration of an appointment!
You can use SmartMonth to: - Determine the first tuesday of any month in any year. - Determine all of the fridays of any month in any year. - Iterate through all the days of a month. - Determine how many days of the month there are. - Determine the first and last days of the month. - And other fun date/month related things!
This library # This class contains all the necessary methods to do the following: -Crawl most websites and return an array of their URLS. -Convert all HTML and most web linked PDF documents to one large string given an array of urls. -Parse out all non words and non human sensible markup. -Stooge Sort an array of words via Iteration, NOT recursion. NOTE: Current verison IS using recursive stooge sort! -Write array of words to a new file.
RubyTree is a Ruby implementation of the generic tree data structure. It provides simple APIs to store named nodes, and to access, modify, and traverse the tree. The data model is node-centric, where nodes in the tree are the primary structural elements. It supports all common tree-traversal methods (pre-order, post-order, and breadth first). RubyTree mixes in the Enumerable and Comparable modules and behaves like a standard Ruby collection (iteration, comparison, etc.). RubyTree also includes a binary tree implementation, which provides in-order node traversal besides the other methods. RubyTree can import from and export to JSON, and supports Ruby’s object marshaling.
This gem contains a set of tools and extensions that West Arete uses to report on Pivotal Tracker across all of its projects. Goals: * Extract the set of stories that are available to work on across all active projects * Validate stories in the backlog to ensure that they meet our standards * Report on completed iterations for billing and reporting purposes * Wedge the following additional information into each feature: * Risk * Price
== Synopsys Ruby Enumerable extension. Main idea is lazy computations within enumerators. == Usage Install as a gem: sudo gem install deferred_enum This gem introduces DeferredEnumerator class: ary = [1, 2, 3, 4] deferred = ary.defer # #<DeferredEnumerator: [1, 2, 3, 4]:each> DeferredEnumerator brings some optimizations to all?, any? and none? predicates deferred.all?(&:even?) # Will stop iteration after first false-result = 1 iteration deferred.none?(&:even?) # 2 iterations deferred.any?(&:even?) # 2 iterations It also introduces lazy versions of Enumerable's #select, #map and #reject methods deferred.map { |i| i + 1 } # #<DeferredEnumerator: #<Enumerator::Generator>:each> deferred.select { |i| i.even? } # #<DeferredEnumerator: #<Enumerator::Generator>:each> deferred.reject { |i| i.odd? } # #<DeferredEnumerator: #<Enumerator::Generator>:each> So you can safely chain your filters, they won't be treated as arrays: deferred.map(&:succ).select(&:even?) # #<DeferredEnumerator: #<Enumerator::Generator>:each> You can build chains of Enumerables: deferred.concat([2]).to_a # [1, 2, 3, 4, 2] Or append elements to the end of enumerator: deferred << 2 You can even remove duplicates from enumerator, though this operation can be tough: deferred.uniq # #<DeferredEnumerator: #<Enumerator::Generator>:each> There are many other methods in DeferredEnumerator, please refer to documentation.
This is a weak deduper to make things like bulk email run safer. It is not a lock safe for financial/security needs because it uses a weak redis locking pattern that can have race conditions. However, imagine a bulk email job that loops over 100 users, and enqueues a background email for each user. If the job fails at iteration 50, a retry would enqueue all the users again and many will receive dupes. This would continue multiple times as the parent job continued to rerun. By marking that a subjob has been enqueued, we can let that isolated job handle its own failures, and the batch enqueue job can run multiple times without re-enqueueing the same subjobs.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.