npm.io
1.0.3 • Published 2 years ago

@types/rtl-detect

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

Installation

npm install --save @types/rtl-detect

Summary

This package contains type definitions for rtl-detect (https://github.com/shadiabuhilal/rtl-detect).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rtl-detect.

index.d.ts

export function getLangDir(strLocale: string): "ltr" | "rtl";
export function isRtlLang(strLocale: string): boolean | undefined;

Additional Details

  • Last updated: Tue, 07 Nov 2023 1536 GMT
  • Dependencies: none

Credits

These definitions were written by imprevo.