jsdom-jscore
A fork of jsdom/jsdom-little to run within JavaScript Core on iOS, with all dependencies builtin
Last updated 11 years ago by brentvatne .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install jsdom-jscore 
SYNC missed versions from official npm registry.

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?

  • You need something from jsdom (DOM, parsing, etc.) inside of your react-native iOS app - for example to run d3.js against a virtual DOM tree, but you don't need full browser emulation.

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}

Current Tags

  • 0.1.0                                ...           latest (11 years ago)

1 Versions

  • 0.1.0                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |