aralroca/react-text-toxicity

Detect text toxicity in a simple way, using React. Based in a Keras model, loaded with Tensorflow.js.

35
/ 100
Emerging

Exposes the TensorFlow.js toxicity model via a custom React hook (`useTextToxicity`) that classifies text across multiple toxicity categories with configurable probability thresholds and built-in debouncing. The pre-trained Keras model runs inference directly in the browser, returning per-label match predictions and confidence scores for real-time content moderation.

No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 8 / 25
Maturity 16 / 25
Community 11 / 25

How are scores calculated?

Stars

45

Forks

5

Language

JavaScript

License

Last pushed

Jan 06, 2023

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/aralroca/react-text-toxicity"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.