Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Readme
Unofficial Node.js bindings for Compact Language Detector v3 (CLD3).
The library exposes a getLanguages
function that returns the detected languages in the provided text.
This is an unofficial wrapper around the CLD3 library. It is not affiliated with Google in any way.
Installation: npm install cld3
import { getLanguages } from 'cld3';
const langs = getLanguages(
'This piece of text is in English. Гэты тэкст на беларускай мове.'
);
console.log(langs);
/**
* [
* {
* language: 'be',
* probability: 0.9173873066902161,
* is_reliable: true,
* proportion: 0.5853658318519592
* },
* {
* language: 'en',
* probability: 0.9999790191650391,
* is_reliable: true,
* proportion: 0.4146341383457184
* }
* ]
*/
npm install
npm run build
npm run test
or use Docker
docker build . -t node-cld3:node
docker run --rm -it node-cld3:node
FAQs
Unofficial Node.js bindings for Compact Language Detector v3 (CLD3)
The npm package cld3 receives a total of 44 weekly downloads. As such, cld3 popularity was classified as not popular.
We found that cld3 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.