Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/rtl-detect

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/rtl-detect - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

rtl-detect/index.d.ts

@@ -6,3 +6,3 @@ // Type definitions for rtl-detect 1.0

export function getLangDir(strLocale: string): 'ltr' | 'rtl';
export function getLangDir(strLocale: string): "ltr" | "rtl";
export function isRtlLang(strLocale: string): boolean | undefined;
{
"name": "@types/rtl-detect",
"version": "1.0.0",
"version": "1.0.1",
"description": "TypeScript definitions for rtl-detect",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rtl-detect",
"license": "MIT",

@@ -14,3 +15,3 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -23,4 +24,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "872f8d2872d4bd4e997e2140f66a3663dd6077eec08304951781580a0adc3a74",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "e01e5f62d146cfc061d10a549e2ff46602b7df31f458f23a6dae2def5312f144",
"typeScriptVersion": "4.5"
}

@@ -5,9 +5,20 @@ # Installation

# Summary
This package contains type definitions for rtl-detect ( https://github.com/shadiabuhilal/rtl-detect ).
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
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rtl-detect.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rtl-detect/index.d.ts)
````ts
// Type definitions for rtl-detect 1.0
// Project: https://github.com/shadiabuhilal/rtl-detect
// Definitions by: imprevo <https://github.com/imprevo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Additional Details
* Last updated: Wed, 03 Apr 2019 00:34:22 GMT
export function getLangDir(strLocale: string): "ltr" | "rtl";
export function isRtlLang(strLocale: string): boolean | undefined;
````
### Additional Details
* Last updated: Wed, 27 Sep 2023 07:12:04 GMT
* Dependencies: none

@@ -17,2 +28,2 @@ * Global values: none

# Credits
These definitions were written by imprevo <https://github.com/imprevo>.
These definitions were written by [imprevo](https://github.com/imprevo).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc