linq6

1.0.1 • Public • Published

linq6

A javascript LINQ API built using es6 features with deferred execution support.

Build Status

Why?

Language-Integrated Query (LINQ) provides powerful capabilities to query and manipulate any iterable data. Its easy, fast, fluent and supports lazy execution. Using this deferred execution capabilities linq6 could easily manilulate large collections.

How?

This library uses es6 features, specially iterator. It provides a fluent interface so that methods could be easily chained to create a process pipeline.

Example

let result = Enumerable.from([1, 3, 4, 6, 8, 10])
    .where(x => x > 1)
    .skip(1)
    .select(x => x * 2)
    .toArray();    
    

API

The library provides below methods to operate on a collection.

Documentation

For complete documentation please visit http://subhajitdas.github.io/linq6.

Requirements

linq6 extensively uses es6 features. The distribution file is produced after limited transformation (modules, parameter defaults and spread) using bable. This library is tested to work with nodejs 5.0.0 or higher.

Package Sidebar

Install

npm i linq6

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • subhajitdas