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

Readme

Keywords

none

Package Sidebar

Install

npm i @types/string-natural-compare

Weekly Downloads

13,968

Version

3.0.4

License

MIT

Unpacked Size

3.02 kB

Total Files

5

Last publish

Collaborators

  • types