Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Node JS REPL for interacting with a live Cheerio DOM.
JavaScript
Branch: master

Merge pull request #1 from NOLFXceptMe/update-deps

Update dependencies and remove node_modules from version control
latest commit d642fba640
@kuhnza authored
Failed to load latest commit information.
bin
.gitignore
LICENSE
README.md
package.json

README.md

Cheerio REPL

A Node JS REPL for interacting with live Cheerio DOM.

Installation

npm install -g cheerio-repl

Usage

cheerio <URL>

Global objects available inside the shell:

$ = cheerio parsed DOM object
res = raw response object returned from URL

Example

At the command prompt run the following: cheerio "http://tubes.io"

The cheerio prompt should appear whereupon you can interact with the loaded DOM like so:

cheerio> $('title').text();
'Home - tubes.io'
cheerio>
Something went wrong with that request. Please try again.