🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@ilihub/dsa

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ilihub/dsa

A collection of useful TypeScript functions and utilities for data structures and algorithms.

1.0.9
latest
Source
npm
Version published
Weekly downloads
11
450%
Maintainers
1
Weekly downloads
 
Created
Source

@ilihub/dsa

A collection of useful TypeScript functions and utilities for data structures and algorithms.

NPM Version NPM CodeFactor Socket Badge

Installation

# if you're using pnpm
pnpm add @ilihub/dsa

# or, if you're using npm
npm install @ilihub/dsa

# or, if you're using yarn
yarn add @ilihub/dsa

Usage

import { BinarySearch } from "@ilihub/dsa";

const arr = [1, 2, 3, 4, 5, 6, 7, 8, 9];

const result = BinarySearch(arr, 5);

console.log(result); // 4

Available Functions and Classes

Sponsors & Backers

Support the development of new open-source projects from ilihub through crowdfunding.

The core of ilihub is our crowd-funded open-source projects, licensed under the permissive MIT license. Sponsorship increases the rate of bug fixes, documentation improvements, and feature development.

Sponsors

Keywords

ilihub

FAQs

Package last updated on 14 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts