JSDOM 5.1.0

A basic JavaScript server-side implementation of the W3C DOM, an ideal tool for simulating and working with HTML code inside Node.js

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!

What's new in JSDOM 5.0.0:

  • Removed options.jar and options.document.cookieDomain from the configuration for creating jsdom documents.
  • Instead, there is now a new option, options.cookieJar, which accepts cookie jars created by the new jsdom.createCookieJar() API. You should use this if you intend to share cookie jars among multiple jsdom documents.
  • Within a given cookie jar, cookie access is now automatically handled on a domain basis, as the browser does, with the domain calculated from the document's URL (supplied as options.url when creating a document). This supplants the former options.document.cookieDomain.
  • Implemented automatic cookie-jar sharing with descendant <iframe>s. (So, if the iframe is same-domain, it can automatically access the appropriate cookies.)
Read full changelog
send us
an update
LICENSE TYPE:

MIT License

USER RATING:
4.0/5 2
DEVELOPED BY:
Elijah Insua
HOMEPAGE:
github.com
LANGUAGE:
JavaScript
CATEGORY:
C: \ Development Tools \ Other Libraries
JSDOM is intended to be platform independent and as light as possible, while completely adhering to the W3C DOM specifications.

The project started out as a way to replicate basic HTML DOM structures inside Node.js and has quickly expanded into a library for completely porting the WHATWG DOM and HTML standards to JavaScript.

This includes support for replicating HTML tags, executing external scripts, emulating browsers, and special attention to working with jQuery.

Usage instructions are included with the package's README file.

Last updated on April 24th, 2015

Runs on: Windows / Linux / Mac OS / BSD / Solaris

requirements

#W3C DOM #JavaScript DOM clone #DOM port #DOM #W3C #clone #port

Add your review!

SUBMIT