nowfound

Life & fun · August 7, 2014

WJ

Wu.js – Higher order functions for ES6 iterators

Wu.js – Higher order functions for ES6 iterators launched on August 7, 2014 with 56 votes, #1,017 of 2,208 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 12 years on.

In plain words

Wu.js is a JavaScript library that provides higher order functions like map, filter, and reduce for ECMAScript 6 iterators. It enables developers to work with streams of data using lazy and infinite sequences. The library simplifies iterator handling by allowing these operations to work seamlessly with for-of loops and generator functions, letting developers process data without manually calling the iterator's next method. It is designed for JavaScript developers working with ES6 code.

written from the facts on this page · September 2026

From the sources

wu.js is a JavaScript library providing higher order functions (such as map , filter , and reduce ) for ECMAScript 6 iterators. Iterators represent a stream of data. To get the next value in the stream, you call the iterator's next method. This enables both lazy and infinite sequences. Most of the time you don't need to call next yourself: when you use a for-of loop, you're using iterators behind the scenes. Anything can create iterators — they just need to make an object with the proper next interface — but generator functions and the yield expression provide convenient syntactic sugar. wu.js provides the higher order functions you've come to love from working with arrays (such…from fitzgen.github.io

Does a similar job

all alternatives →

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, August 2014

the whole month →