linq-iteratordeprecated

linq.js - LINQ for JavaScript with iterator support

Usage no npm install needed!

<script type="module">
  import linqIterator from 'https://cdn.skypack.dev/linq-iterator';
</script>

README

linq-iterator Travis CI

everything in npm:linq but with iterator support

that is to say:

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:

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);
}