@types/string-natural-compare
Version:
TypeScript definitions for string-natural-compare
27 lines (20 loc) • 850 B
Markdown
# 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).