npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

jquery-with-migrate

v0.1.0

Published

Latest jQuery (currently 2.0.0b2) with jQuery-Migrate plugin wrapped for Node.js and a browser (window globals, Browserify or AMD)

Readme

jQuery+Migrate

Latest jQuery (currently 2.0.0b2) with jQuery-Migrate plugin wrapped for Node.js and a browser (window globals, Browserify or AMD).

Build Status Dependency Status Dependency Status Selenium Test Status

Use in Node:

// jQuery in an empty document
var $ = require('jquery-with-migrate');

// jQuery in a custom window (from jsdom)
var $ = require('jquery-with-migrate').create(window);

Use with Browserify:

// returns jQuery within a current window 
var $ = require('jquery-with-migrate');

// globals are still defined
console.log($ === window.jQuery);

Use with AMD:

  1. Run jQuery+Migrate through Browserify:

    browserify -r jquery-with-migrate > jquery-with-migrate.js
  2. Use it in other AMD modules (exposed as 'jquery'):

    define(['jquery'], function ($) {
        console.log($ === window.jQuery);
    });

Installing on Windows:

Since jQuery+Migrate relies on jsdom that in turn depends on contextify it's important to have compiler toolchain properly installed on you machine. The easiest way to do it on Windows is to install:

  1. Python 2.7.3, either directly from python.org, or as a Chocolatey package.
  2. Visual Studio 2012 Express for Windows Desktop (it's free and comes with Windows SDK). Make sure you install it and all the updates. It's pretty heavy (> 2 GiB), but you don't have another option at the moment.

Alternatively (if you're on Windows Vista or any older version) you can try installing Visual C++ 2010 Express and the corresponding version of Windows SDK (for Windows 7 that's "Microsoft Windows SDK for Windows 7 and .NET Framework 4").