Inject
Dependency Management Got Awesome
CommonJS and AMD module loading, cross-origin fetching, localStorage caching, and more.
Download Inject Current version is 0.7.1. See all versions. TweetThis text string has been loaded dynamically using Inject. The adjacent code is all you need! Point to Inject, tell it where to find additional JavaScript modules, and start your program.
html
<script src="/path/to/inject.js"></script>
<script>
Inject.setModuleRoot("/path/to/modules");
require.run("program");
</script>
-
Get up and running.
Quickly learn how to include Inject, configure common options, and start your application.
-
Peek under the hood.
Understand the different components of Inject and how they work together to resolve dependencies.
-
Read all about it.
Everything you need to know about Inject, from API documentation to advanced configuration options.