An open API service indexing awesome lists of open source software.

https://github.com/youngjuning/jsace


https://github.com/youngjuning/jsace

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

[![codecov](https://codecov.io/gh/youngjuning/jsace/graph/badge.svg?token=V5od839KVR)](https://codecov.io/gh/youngjuning/jsace)

## Installation

```bash
pnpm add jsace
```

## Usage

### Search Algorithms

```js
import { binarySearch } from 'jsace';
const arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
const index = binarySearch(arr, 5);
```

### LinkedList

```js
import { LinkedList } from 'jsace';

const list = new LinkedList();
list.push(1);
list.push(2);
list.push(3);
```