Socket
Socket
Sign inDemoInstall

perspectiveapi-wrapper

Package Overview
Dependencies
52
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    perspectiveapi-wrapper

Some description


Version published
Weekly downloads
0
Maintainers
2
Created
Weekly downloads
 

Readme

Source

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

FAQs

Last updated on 15 Dec 2021

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc