- Added a
virtualConsoleoption to the document creation methods, along with thejsdom.createVirtualConsolefactory. (See examples in the readme.) With this option you can install a virtual console before the document is even created, thus allowing you to catch any virtual console events that occur during initialization. (@jeffcarp)