Compare all the JS loaders
CSS JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
libs
README.md
build.js
index.html
list.js

README.md

JavaScript loaders

Compare features of all loaders.

The original idea comes from a document on Google Drive edited and maintained by Eric Daspet.

How to add another loader ?

Please, fork the repo. Then complete the following JSON object, add it as a new file in the libs folder.

{
    "name"                                : "",
    "url"                                 : "",
    "author "                             : "",
    "minified"                            : "",
    "gziped"                              : "",
    "license"                             : "",
    "noblock"                             : "",
    "independentLoad"                     : "",
    "asynchronousCallback"                : "",
    "independentExecutionOrderCSIE"       : "",
    "independentExecutionOrderFO"         : "",
    "avoidTwiceLoadCSIEsameDomain"        : "",
    "avoidTwiceLoadCSIEcrossDomain"       : "",
    "avoidTwiceLoadFOcrossDomain"         : "",
    "ableAvoidTwiceExecution"             : "",
    "ableExecuteJsTwice"                  : "",
    "allowDefineDependencies"             : "",
    "loadDependenciesParallel"            : "",
    "loadJsOutsideSameDomain"             : "",
    "featureDetectionNoUserAgentSniffing" : "",
    "futureProofAsyncFalse"               : "",
    "defineShortcuts"                     : "",
    "predefineDependenciesInHead"         : "",
    "compliantWithCommonJS"               : "",
    "plugins"                             : "",
    "classicScriptTag"                    : "",
    "patchesReadyState"                   : "",
    "controlWhichWhenScriptsExecution"    : "",
    "overwriteDocumentWrite"              : "",
    "detectionSupport"                    : "",
    "callbackScriptMissing"               : "",
    "fallbackMainUriFails"                : "",
    "allowReturningValues"                : "",
    "allowPassingParametersContext"       : "",
    "loadCss"                             : "",
    "loadCssWithoutBlocking"              : "",
    "loadCssParallel"                     : "",
    "ableDefinePrioritiesLoadingQueue"    : ""
}

Run this command at the root of the project:

node build.js

Finally make a pull request.

Nb: Every property is in the order of apparition in the page.

Proposals

If it miss something, please create an issue. Every proposal is welcomed.

Thanks

To Eric Daspet and everybody who have create(d) and/or maintain(ed) the original document.

To all loaders authors, now the choice is complicated but every developer can now choose what it fits to him. It's by this way our job is a great trip. Thanks for our freedom of choice.

To all people who will speak about this page and/or will use it.