0.1.0 • Published 6 years ago

saara v0.1.0

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

saara

A module that adds an element at the second index in an ordered array. Works immutably. JS implementation is currently available. Supports also adding an element to the second-to-last index.

Usage

Insert item into second index of an array

    var newArray = saaraize(item, array)

Insert item into second-to-last index of an array

    var newArray = saaraVisionize(item, array)

Future work

  • Add UMK-mode, which adds an element into the first, second and third indices.
  • Support Immutable JS
  • Just Clojure It