npm.io
3.0.4 • Published 2 years ago

@types/string-natural-compare

Licence
MIT
Version
3.0.4
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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 1536 GMT
  • Dependencies: none

Credits

These definitions were written by Anton Rieder.