
Security News
Node.js Homepage Adds Paid Support Link, Prompting Contributor Pushback
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
browser-language-auto-detector
Advanced tools
Auto-detect language name for browser , turn origin code to language name,whether RTL and more ,TS supported
//use npm
npm i browser-language-auto-detector
//use yarn
yarn add browser-language-auto-detector
$ yarn install
$ yarn run dev
$ yarn run build
$ yarn test
import {getLanguageName} from 'browser-language-auto-detector'
console.log(getLanguageName());
//success
{chinese: '简体中文', origin : '简体中文', rtl: false, key: 'chinese', english: 'Chinese'}
//faild
null
import {getBrowserLocalOrigin} from 'browser-language-auto-detector'
//success
['zh-CN', 'zh', 'zh-Hans', 'en', 'und']
//faild for empty array
[]
MIT
FAQs
Auto-detect language name for browser , turn origin code to language name,whether RTL and more ,TS supported
The npm package browser-language-auto-detector receives a total of 1 weekly downloads. As such, browser-language-auto-detector popularity was classified as not popular.
We found that browser-language-auto-detector demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.
Research
Security News
The Socket Research Team investigates a malicious Python typosquat of a popular password library that forces Windows shutdowns when input is incorrect.