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

basic-language-detector

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

basic-language-detector

Detects language by inspecting characters

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

language-detector

To detect language by inspecting characters in text input.

INSTALLATION:

  1. npm install basic-language-detector
  2. Code Snippet:
const basicLangDetector = require('basic-language-detector');
const language = basicLangDetector.getLanguage('Hello');
console.log("Mmm.. looks like you used ", language);

USAGE EXAMPLES:

  • In Devanagari:
node index.js जागृती
Hindi | Marathi | Sanskrit | Devanagari
  • In English:
node index.js Jagrutee
English | Spanish | Basic Latin
  • In Gujarati:
node index.js જાગૃતી
Gujarati
  • In Tamil:
node index.js ஜஃருடீ
Tamil
  • In Telugu:
node index.js జాగ్రుతే
Telugu
  • In Malayalam:
node index.js ജാഗ്രത
Malayalam
  • In Japanese:
node index.js じゃgるてえ
Japanese | Hiragana
  • In Hebrew:
node index.js ונביאים  
Hebrew
  • In Arabic:
node index.js ثقففغب
Arabic
  • In Bengali:
node index.js কখগঘঘঘঘ
Bengali

SUPPORTED LANGUAGES:

  • English | Spanish | French (Basic Latin)
  • Hindi | Marathi | Sanskrit (Devanagari)
  • Malayalam
  • Tamil
  • Telugu
  • Gujarati
  • Hebrew
  • Japanese (Hiragana)
  • Armenian
  • Arabic
  • Syriac
  • Bengali
  • Oriya
  • Kannada
  • Myanmar
  • Georgian
  • Cherokee and many more..

Keywords

FAQs

Package last updated on 14 Jan 2018

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