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.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

language-detector

To detect language by inspecting characters in piece of text.

INSTALLATION:

  1. npm install basic-language-detector
  2. Code Snippet: const basicLangDetector = require('basic-language-detector'); basicLangDetector.getLanguage('Hello');

SUPPORTED LANGUAGES:

  1. English | Spanish | French (Basic Latin)
  2. Hindi | Marathi | Sanskrit (Devanagari)
  3. Malayalam
  4. Tamil
  5. Telugu
  6. Gujarati
  7. Hebrew
  8. Japanese (Hiragana)
  9. Armenian
  10. Arabic
  11. Syriac
  12. Bengali
  13. Oriya
  14. Kannada
  15. Myanmar
  16. Georgian
  17. Cherokee and many more..

EXAMPLE COMMANDS TO RUN:

  1. In Devanagari: $ node index.js जागृती

Hindi | Marathi | Sanskrit | Devanagari

  1. In English: $ node index.js Jagrutee

English | Spanish | Basic Latin

  1. In Gujarati: $ node index.js જાગૃતી

Gujarati

  1. In Tamil: $ node index.js ஜஃருடீ

Tamil

  1. In Telugu: $ node index.js జాగ్రుతే

Telugu

  1. In Malayalam: $ node index.js ജാഗ്രത

Malayalam

  1. In Japanese: $ node index.js じゃgるてえ

Japanese | Hiragana

  1. In Hebrew: $ node index.js ונביאים 

Hebrew

  1. In Arabic: $ node index.js ثقففغب

Arabic

  1. In Bengali: $ node index.js কখগঘঘঘঘ

Bengali

Keywords

FAQs

Package last updated on 21 Dec 2017

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