1.0.2 • Published 10 months ago

@esfx/iter-query v1.0.2

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
10 months ago

@esfx/iter-query

An iteration and query API for ECMAScript iterables.

Overview

Installation

npm i @esfx/iter-query

Usage

// TypeScript
import { Query } from "@esfx/iter-query";

// JavaScript (CommonJS)
const { Query } = require("@esfx/iter-query");

let q = Query
  .from(books)
  .filter(book => book.author === "Alice")
  .groupBy(book => book.releaseYear);

API

You can read more about the API here.