prevoty

1.1.1 • Public • Published

Prevoty node.js SDK

Overview

The Prevoty REST API is the easiest way for individuals and organizations to prevent Cross-Site Scripting (XSS), SQL Injection (SQLi), and Cross-Site Request Forgery (CSRF) attacks in their web applications. The API has been designed to provide simple access to the powerful content analysis systems and intelligence tools that Prevoty has developed.

Node.js bindings

Prevoty has developed a node.js library to protect web applications quickly and easily. The node.js library depends on request.

Get Started

To get started:

  1. Run "npm install prevoty" or add
"prevoty": ">=1.1.1"

OR

"prevoty-nodejs": "*" 

to your package.json file and run "npm install"

  1. Make sure you have a v1 API key (shown at the bottom of the API Keys page in Prevoty Manager Console)

  2. Edit examples/example.js - you will want to put in your API and configuration policy keys (from the Security Policies page in Prevoty Manager Console, not to be confused with the keys from the Plugin Configurations page)

  3. Run node examples/example.js

Issues

Feel free to file an issue or send us a pull request.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i prevoty

    Weekly Downloads

    1

    Version

    1.1.1

    License

    Apache-2.0

    Last publish

    Collaborators

    • prevoty