https://github.com/haileybot/language-detector
Basic library to roughly determine the language of input text
https://github.com/haileybot/language-detector
detection language language-detection language-processing node nodejs npm npm-package
Last synced: 10 months ago
JSON representation
Basic library to roughly determine the language of input text
- Host: GitHub
- URL: https://github.com/haileybot/language-detector
- Owner: HaileyBot
- License: agpl-3.0
- Created: 2020-12-11T14:08:08.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-08T08:35:10.000Z (almost 5 years ago)
- Last Synced: 2025-03-25T08:04:31.917Z (11 months ago)
- Topics: detection, language, language-detection, language-processing, node, nodejs, npm, npm-package
- Language: JavaScript
- Homepage:
- Size: 36.1 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/HaileyBot/language-detector/blob/master/LICENSE)
[](https://www.npmjs.com/package/@haileybot/language-detector)
[](https://www.npmjs.com/package/@haileybot/language-detector)
[](https://david-dm.org/HaileyBot/language-detector)
[](https://donate.haileybot.com)
[](https://cheesits456.dev)
# Language Detector
Language Detector is a basic library to roughly determine the language of given input text.
## Installation
Use the package manager [npm](https://www.npmjs.com/) to install Language Detector
```bash
npm i @haileybot/language-detector
```
## Usage
```js
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](https://github.com/HaileyBot/language-detector/blob/master/LICENSE)