Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dorny/jsdom-little
Cut down version of jsdom without contextify
https://github.com/dorny/jsdom-little
Last synced: about 2 months ago
JSON representation
Cut down version of jsdom without contextify
- Host: GitHub
- URL: https://github.com/dorny/jsdom-little
- Owner: dorny
- License: other
- Archived: true
- Fork: true (jsdom/jsdom)
- Created: 2014-04-02T20:04:03.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-03T20:43:25.000Z (almost 10 years ago)
- Last Synced: 2024-08-10T23:18:56.554Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 7.54 MB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/dorny/jsdom-little.png?branch=master)](https://travis-ci.org/dorny/jsdom-little)
**WARNING:** this fork is based on legacy jsdom version ~0.10.5.
**UPDATE:** jsdom 4+ doesn't depend on contextify anymore however it no longer works with Node.js™ and instead requires [io.js](http://iojs.org).
# jsdom-little
Lightweight cut down version of [jsdom](https://github.com/tmpvar/jsdom).## Removed dependencies:
* **contextify**
* xmlhttprequest
* request## Removed features:
* Running JavaScript code in browser context
* Fetching or processing external resources
* Window
* Events
* XmlHttpRequest
* Content of `` nodes is not evaluated
* jsdom.env works only as ```jsdom.env(html, level, callback)``` and returns ```{document: document}```## What it is good for?
* You need something from jsdom (DOM, parsing, etc.) but full browser emulation is overkill.