# @types/string-natural-compare

> TypeScript definitions for string-natural-compare

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

## Install

```sh
npm install @types/string-natural-compare
pnpm add @types/string-natural-compare
yarn add @types/string-natural-compare
bun add @types/string-natural-compare
```

## 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.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.0.4 |
| Published | 2023-11-07 |
| First published | 2020-07-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51436 |
| Maintainers | types |

## Links

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

## Recent versions

- 3.0.4 (latest) — 2023-11-07
- 3.0.2 (ts3.6) — 2021-07-08
- 3.0.0 (ts3.0) — 2020-07-06
- 3.0.3 — 2023-10-18
- 3.0.1 — 2021-07-02

## README

# Installation
> `npm install --save @types/string-natural-compare`

# Summary
This package contains type definitions for string-natural-compare (https://github.com/nwoltman/string-natural-compare).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/string-natural-compare.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/string-natural-compare/index.d.ts)
````ts
declare function naturalCompare(
    a: string,
    b: string,
    options?: { caseInsensitive?: boolean | undefined; alphabet?: string | undefined },
): number;

export = naturalCompare;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [Anton Rieder](https://github.com/aried3r).

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