JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6363
  • Score
    100M100P100Q136792F
  • License

A fork of brentvatne/jsdom-jscore to run within react-native

Package Exports

  • jsdom-jscore-rn
  • jsdom-jscore-rn/lib/jsdom.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jsdom-jscore-rn) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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}