1.1.0 • Published 8 years ago

string-scraper v1.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 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

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago