Skip to content

jin-qu/jinqu-array-extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Umut Özel
Feb 24, 2025
83718c1 · Feb 24, 2025

History

77 Commits
Feb 23, 2025
Feb 15, 2025
Feb 23, 2025
Feb 23, 2025
Feb 6, 2023
Jul 8, 2019
Feb 15, 2025
Jul 8, 2019
Feb 24, 2025
Feb 15, 2025
Jul 8, 2019
Feb 15, 2025
Feb 23, 2025
Feb 23, 2025
Feb 15, 2025
Feb 24, 2025

Repository files navigation

@jin-qu/array-extensions - Jinqu Array Prototype Extensions

Build and Test codecov Codacy Badge Known Vulnerabilities

npm version npm downloads

GitHub issues GitHub license GitHub stars GitHub forks

Jinqu no longer injects methods into Array Prototype, this repository will provide the functionality.

Installation

npm i @jin-qu/array-extensions

Usage

You only need to import the package, Jinqu query methods will be attached to Array Prototype.

import '@jin-qu/array-extensions';

const arr = [1, 2, 3];
// arr.asQueryable() is not needed.
const first = arr.first();

// if you don't want to use extension methods
// and think "asQueryable" is too long, you can use "q"
const last = arr.q().last();

License

jinqu-array-extensions is under the MIT License.