Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cbforks/jsdom-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsdom-cli

A mini REPL based on jsdom.

npm install -g jsdom-cli

USAGE

jsdom-cli http://example.com or just jsdom-cli

API

open(url)

Open a new url > open("http://google.com")

inject(filename)

Inject javascript. > inject("./lib/underscore.js")

jQueryify()

Inject the lastest version of jquery

> jQueryfiy()
undefined
> $('div')
...

edit()

Edit the DOM with the default HTML editor and reload it

inspect()

Inspect and navigate the DOM like in the browsers dev tools

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published