1.0.7 • Published 6 years ago

naos v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

Naos ✨ ⛵️

Dead simple command line monitoring and debugging tool, based on Puppeteer.

Whats it do?

Specify an array of urls to scrape and naos will evaluate them through Puppeteer, returning you a status code and any browser console warnings or errors it finds.

Why?

Puppeteer is awesome and allows you to build very advanced integration test suites, however sometimes you don't need or don't have time to write anything more advanced than making sure your routes return a 200 and the console doesn't throw any errors. This can be very useful as a quick and basic regression checking tool.

Installation

npm install -g naos

Running

First create a config.json file like so:

{
  "protocol": "https",
  "host": "www.nytimes.com",
  "port": 443,

  "paths": [
    "/",
    "/section/world/"
  ]
}

And begin scraping:

naos --config ./config.json

With JSON output instead:

naos --config ./config.json --format json
1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago