3.0.4 • Published 6 months ago

@types/string-natural-compare v3.0.4

Weekly downloads
35,187
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for string-natural-compare 3.0
// Project: https://github.com/nwoltman/string-natural-compare
// Definitions by: Anton Rieder <https://github.com/aried3r>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare function naturalCompare(
    a: string,
    b: string,
    options?: { caseInsensitive?: boolean | undefined; alphabet?: string | undefined },
): number;

export = naturalCompare;

Additional Details

  • Last updated: Thu, 08 Jul 2021 22:42:18 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Anton Rieder.