This package has been deprecated

Author message:

Package no longer supported. Use the new version @hexlet/linq.

hexlet-linq

0.0.3 • Public • Published

js-linq

Code Climate Issue Count Build Status

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

Readme

Keywords

none

Package Sidebar

Install

npm i hexlet-linq

Weekly Downloads

1

Version

0.0.3

License

ISC

Last publish

Collaborators

  • mokevnin