# @types/timsort

> TypeScript definitions for timsort

Latest version **0.3.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/timsort
pnpm add @types/timsort
yarn add @types/timsort
bun add @types/timsort
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.3.3 |
| Published | 2023-11-07 |
| First published | 2018-11-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51483 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/timsort
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/timsort
- npm.io page: https://npm.io/package/@types/timsort

## Recent versions

- 0.3.3 (latest) — 2023-11-07
- 0.3.1 (ts4.3) — 2023-09-12
- 0.3.0 (ts2.0) — 2018-11-19
- 0.3.2 — 2023-10-18

## README

# Installation
> `npm install --save @types/timsort`

# Summary
This package contains type definitions for timsort (https://github.com/mziccard/node-timsort).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/timsort.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/timsort/index.d.ts)
````ts
/**
 * @param array - The array to sort.
 * @param lo - First element in the range (inclusive). Default is 0
 * @param hi - Last element in the range. Default is last element
 */
export function sort(array: any[], lo: number, hi?: number): void;

/**
 * @param array - The array to sort.
 * @param compare - Item comparison function. Default is alphabetical
 * @param lo - First element in the range (inclusive).
 * @param hi - Last element in the range.
 */
export function sort<T>(
    array: T[],
    compare?: (a: T, b: T) => number,
    lo?: number,
    hi?: number,
): void;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [Vunovati](https://github.com/Vunovati).

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