Lazy Array some. Once fun returns non falsy value, that value is returned and search is suspended
Cache requires to be lazy-loaded when needed.
Define a lazily evaluated property on an object
Lazy assertions without performance penalty
Immutable Data Collections
Lazy value.
LazyLoad is a lightweight (2.4 kB) and flexible script that speeds up your web application by deferring the loading of your below-the-fold images, videos and iframes to when they will enter the viewport. It's written in plain "vanilla" JavaScript, it leve
Create a lazy promise that defers execution until it's awaited or when `.then()`, `.catch()`, or `.finally()` is called
Lazy-evaluating list of files, based on globs or regex patterns
Import a module lazily
Lazy lists for node
High Performance In-Memory Cache for Node.js
React Component to lazy load images using a HOC to track window scroll position.
Build chainable fluent interfaces the easy way... with a freakin' chainsaw!
Open Node Streams on demand.
Robust Environment Configuration for Universal Applications.
Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client
Core services related to interacting with Sinch API
Simple lazy loading component built with react
Utility functions for lazy loading disclosure elements
TypeScript definitions for react-lazy-load-image-component
diff with unified diff format handling
Create a deferred promise
A tiny, PEG-like system for building language grammars with regexes.
lazy-head-gen adds some extra generators to Padrino. Currently they are hard wired to use ActiveRecord and MiniTest.
A simple library to specify the format of configuration files and the way to turn them into Ruby objects. Ruby1.9 centric. Uses some lazy evaluation. No write support: it's strongly sugested to use ERB or other templating systems for that.
Validate the phone number and content of an SMS Message. This gem does not send SMS messages. It just makes sure the arguments are valid.
A lazy-like TUI for running RSpec tests (similar to VSCode Test Explorer): select files, set options (tags, format, output, seed), run all/some/one, view results, and rerun.
== 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.
Contentful API wrapper library exposing an ActiveRecord-like interface
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.