Download RequireJS

Latest Release§ 1

require.js 0.24.0 Minified With Comments

All you need to start using require.js in the browser.

Sample RequireJS 0.24.0 + jQuery 1.5.2 project Download

A zip file containing a sample project that uses jQuery and RequireJS.

r.js: Optimizer and Node and Rhino adapter Download

The r.js file allows you to run the optimizer as well as run modules in Node or Rhino. The download button takes you to the r.js site to download the r.js file.

See the r.js README for more information.

Plugins§ 2

These are useful loader plugins that have the same license terms as require.js itself. Download the plugin file and place it as a sibling to your "data-main" main.js script.

text Minified With Comments

Load text files and treat them as dependencies. Great for loading templates. The text strings can be inlined in an optimized build when the optimizer is used.

order Minified With Comments

Load script in the order specified in the dependency array. Useful for existing scripts that have implied dependencies instead of calling define() to create modular code.

cs (CoffeeScript) With Comments

Load files written in CoffeeScript. Includes a version of CoffeeScript, only this one file is needed. With this plugin, it is easy to code in CoffeeScript in the browser, it can participate in the optimizer optimizations, and it works in Node and Rhino via the RequireJS adapter. This is the best way to do cross-environment, modular CoffeeScript. The project home has more information on how to use it.

i18n Minified With Comments

Load string bundles used in internationalization (i18n) that are made up of separate country/language/locale-specific bundles.

Release Notes§ 3

0.24.0

0.23.0

0.22.0

0.2.1 (should have been 0.21.0)

0.2.0 (should have been 0.20.0)

0.15.0

0.14.5

0.14.4

0.14.3

0.14.2

0.14.1

0.14.0

0.13.0

0.12.0