perspectiveapi-wrapper
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

An awesome module that can help remove toxicity and ensure healthy dialogue online. based on Perspective API.
Explore the docs »

Report Bug · Discord

About The Project

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

Installation & Usage

  1. Details on how to get the API key from google
  2. Install the package
    npm install perspectiveapi-wrapper@latest
  3. 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);
});

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the GNU General Public License v2.0 License. See LICENSE for more information.

Credits

Readme

Keywords

none

Package Sidebar

Install

npm i perspectiveapi-wrapper

Weekly Downloads

0

Version

1.0.3

License

none

Unpacked Size

17.2 kB

Total Files

8

Last publish

Collaborators

  • shinchanop
  • legend108