haproxy-doc-scraper-jquery-plugin

1.0.1 • Public • Published

npm version

HAProxyHQ/DocScraper

This is a simple jQuery plugin, which scrapes the HAProxy configuration manual and returns the relevant data in JSON format. You could use this data to provide a simple autocompletion for a HAProxy config file.

Install

You can either download this plugin manually or get it from npm

npm install haproxy-doc-scraper-jquery-plugin

Usage

Just provide the URL to the HAProxy manual you want to scrape and a callback function.

$.scrapeHAPDocs("https://cbonte.github.io/haproxy-dconv/configuration-1.6.html", function(response) {
    console.log(response);
});

Readme

Keywords

Package Sidebar

Install

npm i haproxy-doc-scraper-jquery-plugin

Weekly Downloads

0

Version

1.0.1

License

ISC

Last publish

Collaborators

  • jdepoix