get-alex / alex

Catch insensitive, inconsiderate writing
https://alexjs.com
MIT License
4.81k stars 208 forks source link

Using Alex to check user text in a html input or textarea element #327

Closed charklewis closed 3 years ago

charklewis commented 3 years ago

I am thinking of using this package to link a html input / textarea element as a user is typing in a react app. I couldn't see any tutorials or suggestions in the repo that this is supported. It just looks like a cli tool.

Is there a way of using Alex to import into a React app and check text programatically?

wooorm commented 3 years ago

sure, the readme describes how to use the aPI and the website also uses alex