Skip to content
This repository has been archived by the owner on Sep 15, 2020. It is now read-only.

dorny/jsdom-little

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

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.

jsdom-little

Lightweight cut down version of jsdom.

Removed dependencies:

  • contextify
  • xmlhttprequest
  • request

Removed features:

  • Running JavaScript code in browser context
  • Fetching or processing external resources
  • Window
  • Events
  • XmlHttpRequest
  • Content of <style> 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.

About

Cut down version of jsdom without contextify

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.2%
  • HTML 6.8%