@acai/collections
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

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

/@acai/collections/

    Package Sidebar

    Install

    npm i @acai/collections

    Weekly Downloads

    11

    Version

    1.0.4

    License

    BSD-3-Clause

    Unpacked Size

    113 kB

    Total Files

    88

    Last publish

    Collaborators

    • darklight98