Skip to main content Skip to complementary content

RequireJS overview

RequireJS is a JavaScript module and file loader which is supported in the latest versions of popular browsers. It is optimized for in-browser use but it can be used in other JavaScript environments as well.

In RequireJS, all code is wrapped in require() or define() functions. The first parameter of these functions specifies dependencies. Since RequireJS only considers JavaScript (.js)files, all file extensions are omitted.

Learn more


Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!