6.1K
1.5K
+ 1
307

What is RequireJS?

RequireJS loads plain JavaScript files as well as more defined modules. It is optimized for in-browser use, including in a Web Worker, but it can be used in other JavaScript environments, like Rhino and Node. It implements the Asynchronous Module API. Using a modular script loader like RequireJS will improve the speed and quality of your code.
RequireJS is a tool in the Front End Package Manager category of a tech stack.
RequireJS is an open source tool with 12.5K GitHub stars and 2.4K GitHub forks. Here鈥檚 a link to RequireJS's open source repository on GitHub

Who uses RequireJS?

Companies
4445 companies reportedly use RequireJS in their tech stacks, including Uber, Slack, and Coursera.

Developers
1579 developers on StackShare have stated that they use RequireJS.

RequireJS Integrations

Babel, WebStorm, JScrambler, Luxon, and TurboGears are some of the popular tools that integrate with RequireJS. Here's a list of all 5 tools that integrate with RequireJS.
Private Decisions at about RequireJS

Here are some stack decisions, common use cases and reviews by members of with RequireJS in their tech stack.

Shared insights
on
RequireJSRequireJS

Came With App RequireJS

See more
Shared insights
on
RequireJSRequireJS

Used Require.js to make the application modular. It provides better dependency management with asynchronous loading of scripts. RequireJS

See more
Shared insights
on
RequireJSRequireJS

Will be replaced with SystemJS soon. RequireJS

See more
Tim De Lange
Tim De Lange
at Multimobile | 1 upvotes 3.9K views
Shared insights
on
RequireJSRequireJS

Very nice way to structure a project, as long as you know it will not be a hybrid app. RequireJS

See more
Danny Burnett
Danny Burnett
Web Developer at FINALLY | 1 upvotes 0 views
Shared insights
on
RequireJSRequireJS

For the server-side requirements of the project. RequireJS

See more
Shared insights
on
RequireJSRequireJS

No real definitive reason, I find it to be the most natural way to import libraries and code in nodejs (prior to ES6 / import). RequireJS

See more
Public Decisions about RequireJS

Here are some stack decisions, common use cases and reviews by companies and developers who chose RequireJS in their tech stack.

Francois Leurent
Francois Leurent
Shared insights
on
RequireJSRequireJS
at

Just use browserify & commonJS modules. We don't use RequireJS. RequireJS client side loading resolution looks like the wrong answer to a bad problem. Use the proper tool at the right place instead !

RequireJS

See more
Chris Barnett
Chris Barnett
CTO at Promethean TV | 1 upvotes 3.9K views
Shared insights
on
RequireJSRequireJS
at

The RequireJS package manager is used by various web applications and services to manage dependencies on 3rd party libraries. RequireJS

See more
Simone Marcato
Simone Marcato
Partner & CTO at Hevelop | 1 upvotes 3.9K views
Shared insights
on
RequireJSRequireJS
at

RequireJS is the main component until Magento 2.2.x for frontend development. RequireJS

See more
Shared insights
on
RequireJSRequireJS

Used Require.js to make the application modular. It provides better dependency management with asynchronous loading of scripts. RequireJS

See more
Tim De Lange
Tim De Lange
at Multimobile | 1 upvotes 3.9K views
Shared insights
on
RequireJSRequireJS

Very nice way to structure a project, as long as you know it will not be a hybrid app. RequireJS

See more
Shared insights
on
RequireJSRequireJS

No real definitive reason, I find it to be the most natural way to import libraries and code in nodejs (prior to ES6 / import). RequireJS

See more

RequireJS Alternatives & Comparisons

What are some alternatives to RequireJS?
Browserify
Browserify lets you require('modules') in the browser by bundling up all of your dependencies.
Webpack
A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows to load parts for the application on demand. Through "loaders" modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
npm
npm is the command-line interface to the npm ecosystem. It is battle-tested, surprisingly flexible, and used by hundreds of thousands of JavaScript developers every day.
Yarn
Yarn caches every package it downloads so it never needs to again. It also parallelizes operations to maximize resource utilization so install times are faster than ever.
Bower
Bower is a package manager for the web. It offers a generic, unopinionated solution to the problem of front-end package management, while exposing the package dependency model via an API that can be consumed by a more opinionated build stack. There are no system wide dependencies, no dependencies are shared between different apps, and the dependency tree is flat.
See all alternatives

RequireJS's Followers
1470 developers follow RequireJS to keep up with related blogs and decisions.
Christopher O'Leary
Shawn at SPIFFYdesign路com
JB Jabc
Aravind Ravi
afolabi busari
John Githiaka
Ahmed Raouf
Ashok Kumar
abdelouahab Elhassnaoui
sadamn lf