1.0.4 • Published 2 years ago

@d31t4/linq.ts v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

iterable-map-filter-reduce

Version

LINQ for JavaScript iterables.

Usage

const arrayIterable = Enumerable.from([1, 2, 3])
    .filter(x => x > 1)
    .map(x => 2 * x);

// or:
// arrayIterable = [1, 2, 3].toEnumerable()
//     .filter(x => x > 1)
//     .map(x => 2 * x);


const objectIterable = Enumerable.from({ x: 1, y: 2, z: 3 });
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago