Download RequireJS

Latest Release: 0.12.0

require.js Minified | With Comments

All you need to start using require.js in the browser. Does not include i18n, text, order, JSONP plugins or Node/Rhino support.

require.js with plugins Minified | With Comments

require.js for use in the browser with the i18n, text, order and JSONP plugins included.

require.js with Transport D and plugins Minified | With Comments

require.js for use in the browser with require.define support for Transport D from CommonJS, and i18n, text, order and JSONP plugins included.

jQuery 1.4.2 with require() Minified | With Comments

A build of jQuery with integrated require() support. Just includes the basic RequireJS, does not have the following features:

jQuery 1.4.2 with require() and plugins Minified | With Comments

A build of jQuery with integrated require() support and the i18n, text, order and JSONP plugins. Does not include these other RequireJS features:

The integrated builds with jQuery contain the changes in this jQuery fork.


Sample jQuery 1.4.2 project with require() Download

A zip file containing a build of jQuery with integrated require() support, with an sample project included to show how it can be used when using jQuery. Does not include these features in RequireJS:


RequireJS adapter for Node

r.js: use this file if you want to code to the RequireJS module format in Node. The Node instructions explain how to use it. It includes all the code needed for RequireJS to function with Node.

index.js: the standard HTTP server-based Hello World app for Node, but coded to work with the r.js adapter. Download it in the same directory as r.js and then run this command:

node r.js index.js

Then you can go to http://127.0.0.1:8000/ and see "Hello World" printed after about 2 seconds.


Optimization Tool / Full Source Download

A zip file that is the optimization tool for RequireJS. It also includes the full source for require.js and its plugins.

If you want to use RequireJS in Rhino, you should use this download.




Previous releases

Latest Release: 0.11.0

0.10.0

0.9.0

This release has a couple backwards incompatible changes. These kinds of changes will be generally avoided, and more notice via the RequireJS mailing list will be given if it needs to happen again. RequireJS has not reached 1.0, so these kinds of changes may still happen. However, there should be less of a need for a backwards incompatiable change now, and as of today, none are forecasted.

0.8.0

The previous releases were just different stages in the source tree. Here are the release notes for those versions.

0.0.7

0.0.6

0.0.5

0.0.4

0.0.3

0.0.2

0.0.1