# hexlet-linq

> [![Code Climate](https://codeclimate.com/github/hexlet-components/js-linq/badges/gpa.svg)](https://codeclimate.com/github/hexlet-components/js-linq) [![Issue Count](https://codeclimate.com/github/hexlet-components/js-linq/badges/issue_count.svg)](https://

Latest version **0.0.3** (published 2016-07-09) · ISC license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install hexlet-linq
pnpm add hexlet-linq
yarn add hexlet-linq
bun add hexlet-linq
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2016-07-09 |
| First published | 2016-07-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kirill Mokevnin |
| Maintainers | mokevnin |

## Links

- npm: https://www.npmjs.com/package/hexlet-linq
- Repository: https://github.com/hexlet-components/js-linq
- Homepage: https://github.com/hexlet-components/js-linq#readme
- Issues: https://github.com/hexlet-components/js-linq/issues
- npm.io page: https://npm.io/package/hexlet-linq

## Recent versions

- 0.0.3 (latest) — 2016-07-09
- 0.0.2 — 2016-07-09
- 0.0.1 — 2016-07-09

## README

# js-linq

[![Code Climate](https://codeclimate.com/github/hexlet-components/js-linq/badges/gpa.svg)](https://codeclimate.com/github/hexlet-components/js-linq)
[![Issue Count](https://codeclimate.com/github/hexlet-components/js-linq/badges/issue_count.svg)](https://codeclimate.com/github/hexlet-components/js-linq)
[![Build Status](https://travis-ci.org/hexlet-components/js-linq.svg?branch=master)](https://travis-ci.org/hexlet-components/js-linq)


```javascript
cars = [
  { brand: 'bmw', model: 'm5', year: 2014 },
  { brand: 'bmw', model: 'm4', year: 2013 },
  { brand: 'kia', model: 'sorento', year: 2014 },
  { brand: 'kia', model: 'rio', year: 2010 },
  { brand: 'kia', model: 'sportage', year: 2012 },
];
coll = HexletLinq.from(cars);

const result = coll.orderBy(car => car.year, 'desc')
  .where(car => car.brand === 'kia')
  .select(car => car.model);
```

---
_Source: https://npm.io/package/hexlet-linq · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
