@types/string-natural-compare
TypeScript icon, indicating that this package has built-in type declarations

3.0.4 • Public • Published

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

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.

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 3.0.4
    22,863
  • 3.0.3
    14
  • 3.0.2
    1,769
  • 3.0.1
    0
  • 3.0.0
    40

Package Sidebar

Install

npm i @types/string-natural-compare

Weekly Downloads

24,686

Version

3.0.4

License

MIT

Unpacked Size

3.02 kB

Total Files

5

Last publish

Collaborators

  • types