GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - gurisko/sorted-array: An array that keeps its elements sorted with advanced comparison capabilities and a built-in support for array of objects

This repository was archived by the owner on Jan 2, 2024. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

Sorted Array

An array that keeps its elements sorted with advanced comparison capabilities and a built-in support for an array of objects.

Installation

npm install @gurisko/sorted-array

API

new SortedArray([key|compareFn])

arr.insert([element1[, ...[, elementN]]])

arr.get(index)

arr.has(value)

arr.search(value)

arr.remove(index)

arr.removeByValue(value)

arr.eq(value)

arr.gt(value)

arr.gte(value)

arr.lt(value)

arr.lte(value)

arr.toArray()

arr.clear()

About

An array that keeps its elements sorted with advanced comparison capabilities and a built-in support for array of objects

Topics

collectiondata-structurenode-modulenodejssortedsorted-arraysorted-data

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.