Lazy.js is very similar to Lo-Dash, a JavaScript library that adds a bunch of new functions and features on top of Underscore.js, a well-knwon library for supporting functional programming in JavaScript.
Supporting lazy evaluation in JavaScript is important, especially in JS-heavy applications and in situations where a lot of JavaScript arrays and operations are being processed.
Using deferred execution pattern improves the code's performance, and speed up your app's overall speed and responsiveness.
Lazy.js works with both client-side (browsers) and server-side (Node.js) environments.
What is new in this release:
- Added Sequence.createWrapper
- Added Sequence#memoize and Sequence#none
- Fixed Sequence#reject to accept a string or object (like other methods involving predicates)
- Fixed bug in Sequence#all
- AsyncSequence#getIterator now throws an error
What is new in version 0.4.0:
- Added Sequence.createWrapper
- Added Sequence#memoize and Sequence#none
- Fixed Sequence#reject to accept a string or object (like other methods involving predicates)
- Fixed bug in Sequence#all
- AsyncSequence#getIterator now throws an error
Requirements:
- JavaScript enabled on client side
- Node.js for server-side environments
Comments not found