An awesome module that can help remove toxicity and ensure healthy dialogue online. based on Perspective API.
Explore the docs »
Report Bug
·
Discord
Perspective API helps you to have an non toxic community very easily & with our wrapper it can be done more easily.
Here's why:
- Easy to use
- Fast & Easy Support
- Well Documented
- Frequently updated
- Details on how to get the API key from google
- Install the package
npm install perspectiveapi-wrapper@latest
- Enter your API & get rid of the toxic
const client = require('perspectiveapi-wrapper');
const toxic_police = new client(
{apiKey: "your api key!"}
);
toxic_police.Analyze("Hello World!", (r) => {
console.log(r);
});
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the GNU General Public License v2.0 License. See LICENSE
for more information.