init-jquery
v1.0.0
Published
Init jQuery on Window object (NodeJS, JSDOM)
Downloads
2
Readme
Init jQuery
Init jQuery on any Window object (NodeJS, JSDOM)
Installation
npm i --save init-jquery
Usage
const jQuery = require('jquery');
const initJQuery = require('init-jquery');
extendJQuery = ($) => { /* ... */ }
const $ = initJQuery(jQuery, window, extendJQuery);