🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

facebook-locales

Package Overview
Dependencies
Maintainers
8
Versions
917
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

facebook-locales

Maps locales to Facebook locales

latest
Source
npmnpm
Version
1.0.916
Version published
Weekly downloads
58
-44.23%
Maintainers
8
Weekly downloads
 
Created
Source

facebook-locales

NPM version Downloads

Maps locales to Facebook locales.

Usage

Install the library with npm install facebook-locales

var FacebookLocales = require('facebook-locales');

FacebookLocales.bestFacebookLocaleFor("en_US"); //-> "en_US"
FacebookLocales.bestFacebookLocaleFor("fr_FR"); //-> "fr_FR"
FacebookLocales.bestFacebookLocaleFor("es_AR"); //-> "es_LA"
FacebookLocales.bestFacebookLocaleFor("ar_EG"); //-> "ar_AR"

Keywords

i18n

FAQs

Package last updated on 24 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts