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

windows-locale

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

windows-locale

Windows Language Code Identifier (LCID) for JavaScript

  • 1.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
23K
increased by2.49%
Maintainers
1
Weekly downloads
 
Created
Source

Windows Locale

Node Version Downloads Travis

Windows Language Code Identifier (LCID) for JavaScript

Installation

Module available through the npm registry. It can be installed using the npm or yarn command line tools.

# NPM
npm install windows-locale --save
# Or Using Yarn
yarn add windows-locale

Example

const locale = require('windows-locale')

console.log(locale['pt-br'])
/*
{
	language: 'Portuguese',
	location: 'Brazil',
	id: 1046,
	tag: 'pt-BR',
	version: 'ReleaseA'
}
*/

Documentation

locale

List of Languages

locale[language]

Get Windows Language Code Identifier (LCID) information

  • language (String)
  • location (String || Null)
  • id (Number)
  • tag (String)
  • version (String)

Source

NOTE: Source is winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-LCID/%5bMS-LCID%5d.pdf

Dependencies

None

Dev Dependencies

  • pdf2json: A PDF file parser that converts PDF binaries to text based JSON, powered by porting a fork of PDF.JS to Node.js

Contributors

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue. List of all contributors.

License

MIT © Tiago Danin

Keywords

FAQs

Package last updated on 29 May 2022

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

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