jquery-node
v0.3.0
Published
jQuery + browser-ish environment for unit testing on NodeJS
Downloads
83,361
Readme
jquery-node
Intention of this module is to bring a browser-ish environment to NodeJS so that unit testing can be made easier.
On Node
- Creates a document using jsdom and make it available globally. To get window object use document.defaultView.
- Initializes jquery using jsdom and exports it.
On browser Returns jquery if AMD is being used.