1.1.0 • Published 6 years ago

string-scraper v1.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

String-scraper

String-scraper is a NodeJS module that checks if a string exists within the contents of a URL. Boolean returned via Bluebird promise.

const stringScraper = require('string-scraper')

const url = 'http://www.example.com/';
const string = 'This domain is established to be used for illustrative examples in documents.';
const charMin = 50;

stringScraper(url, string, charMin)
    .then((result) => {
        return result;
    })
    .catch((err) => {
        console.log(err);
    });

Installation

npm install string-scraper

Testing

To run the tests, download the repo, then within the string-scraper directory, run:

npm test
1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago