Skip to content

Basic library to roughly determine the language of input text

License

Notifications You must be signed in to change notification settings

HaileyBot/language-detector

Repository files navigation

License NPM version NPM downloads Dependencies PayPal Portfolio

Language Detector

Language Detector is a basic library to roughly determine the language of given input text.

Installation

Use the package manager npm to install Language Detector

npm i @haileybot/language-detector

Usage

const detectLang = require("@haileybot/language-detector");

console.log(detectLang("This will print 'en' to the console"));

License

This project is licensed under AGPL-3.0