1.2.0 • Published 6 years ago

riko-list v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Riko-List - Extension Array Class

NPM Version NPM Downloads

Riko-List offers extension capabilities to add, modify and delete items of an array between others

Typescript Usage

import RikoList from 'riko-list';
const riko = new RikoList<string>(1,2,3,4);

console.log('RESULT -->', riko.push(1).insertAt(2, 2).getItems()); // this becomes [ '1', '2', '2', '3', '4', '1' ]

Javascript Usage

import RikoList from 'riko-list';
const riko = new RikoList(1,2,3,4);

console.log('RESULT -->', riko.push(1).insertAt(2, 2).getItems()); // this becomes [ '1', '2', '2', '3', '4', '1' ]

Examples Folder

You can check out the examples folder, there are examples using vanilla javascript and other folder with an angular example.

For the vanilla example you need to do in the root folder. (You can use yarn or npm, I recommend using yarn is faster)

  yarn 
  npm install

For the angular example you need to do in the angular folder and the step above

  yarn 
  or 
  npm install
1.2.0

6 years ago

1.0.3

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago