linq-iterator
Version:
linq.js - LINQ for JavaScript with iterator support
21 lines (17 loc) • 506 B
Markdown
# linq-iterator [](https://travis-ci.org/adamburgess/linq-iterator)
everything in npm:linq but with iterator support
that is to say:
```js
for(var x of linq.from([1,2,3]).select(y => y + 1)) {
console.log(x);
}
```
now works
also a small feature which I find handy:
```js
linq.extendArray();
// now you don't need linq.from at all
for(var x of [1,2,3].select(y => y + 1)) {
console.log(x);
}
```