1.0.4 • Published 4 years ago

@acai/collections v1.0.4

Weekly downloads
-
License
BSD-3-Clause
Repository
-
Last release
4 years ago

GitHub NPM NPM Build Status Support Coverage Status

Açaí's Framework collections

A group of useful collections to your everyday needs, developed as a module for the Açaí framework.

Installation

npm

npm i --save @acai/collections

yarn

yarn add @acai/collections

Collection types

Default

This works as a enhanced array, to show the capabilities of the collection.

Group

This is a special type, every method call is going to be a group call, see the example below:

let normalarray 	= [/* items */];
let groupcollection = new Group([/* items */]);

groupcollection.methodCall();

//is the same as

for (let i = 0; i < normalarray.length;i++) {
	normalarray[i].methodCall();
}

Paginatable

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago