https://github.com/jwerle/jsdom-repl
Simple jsdom repl
https://github.com/jwerle/jsdom-repl
Last synced: 11 months ago
JSON representation
Simple jsdom repl
- Host: GitHub
- URL: https://github.com/jwerle/jsdom-repl
- Owner: jwerle
- License: mit
- Created: 2014-10-16T22:17:34.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-17T15:53:35.000Z (over 11 years ago)
- Last Synced: 2025-03-29T19:03:44.504Z (about 1 year ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
jsdom-repl
==========
Simple jsdom repl
## install
```sh
$ [sudo] npm i -g jsdom-repl
```
## usage
```sh
$ jsdom-repl http://google.com
dom> console.log(location.href)
http://www.google.com/
dom> console.log(document.body.innerHTML)
(function(){var src='/images/nav_logo176.png';var iesg=false;document.body.onload = function(){window.n && window.n();if
...
```
## license
MIT