/jsdom-jscore

A fork of jsdom that is intended for use in JavaScriptCore on iOS, specifically with react-native

Primary LanguageJavaScriptOtherNOASSERTION

jsdom-jscore

Trimmed down version of jsdom to run on JavaScriptCore, substituting in node standard library dependencies for other options, often browserify-based.

What it is good for?

Removed features (unchanged from jsdom-little):

  • 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}