# typescript-searching-methods

> "This project contains searching functions"

Latest version **1.0.5** (published 2016-05-19) · SEE LICENSE IN LICENSE license · 0 weekly downloads

## Install

```sh
npm install typescript-searching-methods
pnpm add typescript-searching-methods
yarn add typescript-searching-methods
bun add typescript-searching-methods
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2016-05-19 |
| First published | 2016-05-18 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Narayana |
| Maintainers | narayanabojja |
| Keywords | typescript, searching functions, searching methods, linear search, binary search |

## Links

- npm: https://www.npmjs.com/package/typescript-searching-methods
- Repository: https://github.com/NarayanaBojja/typescript_searching_functions
- Homepage: https://github.com/NarayanaBojja/typescript_searching_functions#readme
- Issues: https://github.com/NarayanaBojja/typescript_searching_functions/issues
- npm.io page: https://npm.io/package/typescript-searching-methods

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2016-05-19
- 1.0.4 — 2016-05-18
- 1.0.3 — 2016-05-18
- 1.0.1 — 2016-05-18
- 1.0.0 — 2016-05-18

## README

##Overview

This project contains only two searching functions. They are

1) linear Search :

It is a generic type function.
This function will take two arguments, Array and value to search in that array.
It returns an object which contains two properties position and comparisons.

2) binary Search :

It is a generic type function.
This function will take two arguments, Array and value to search in that array.
It doesn't returns anything. It prints value position in the console itself.


##How to use it :

Run the command "npm i typescript-searching-methods" in the command prompt.
It will be downloaded into node modules folder in your Project.

1)Now attach searching-functions.d.ts file path in the typescript file where you
want to use these searching methods.

for example :
///<reference path="../../typescrtipt-searching-methods/dist/lib/searching-functions.d.ts"/>
or
import * from "typescrtipt-searching-methods";

2) Attach searching-functions.js file in your main html file.

for example:
<script src="../../typescrtipt-searching-methods/dist/lib/searching-functions.js"/></script>

---
_Source: https://npm.io/package/typescript-searching-methods · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
