rstacruz / jsdom-global

Enable DOM in Node.js
477 stars 38 forks source link

Add jsdom instance reference to global #32

Open Li0liQ opened 7 years ago

Li0liQ commented 7 years ago

Having a reference to jsdom will allow to access its API (see #26).

ValentinH commented 7 years ago

Being able to access the jsdom instance is really nice. @rstacruz any idea when this can be merged?

modosc commented 7 years ago

i setup a fork here:

https://github.com/modosc/global-jsdom

with it you can access the instance via global.$jsdom

odinho commented 5 years ago

So this project seems dead @rstacruz? This functionality would be good, so we don't have to duplicate all the code just to get access to reconfigure.