https://github.com/youngjuning/jsace
https://github.com/youngjuning/jsace
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/youngjuning/jsace
- Owner: youngjuning
- Created: 2025-03-02T14:19:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-25T00:54:20.000Z (about 1 year ago)
- Last Synced: 2025-03-25T17:53:40.043Z (about 1 year ago)
- Language: TypeScript
- Size: 59.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](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);
```