README
jinqu-array-extensions - Jinqu Array Prototype Extensions
Jinqu no longer injects methods into Array Prototype, this repository will provide the functionality.
Installation
npm i jinqu-array-extensions
Usage
You only need to import the package, Jinqu query methods will be attached to Array Prototype.
import 'jinqu-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.