
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
A small and fast AMD loader for building modern applications on node.js and the browser.
Extremely compact--less than 500 lines of code
Algorithms optimized to theoretical minimum time complexity possible
Executes on node.js and in the browser
Includes the features required to construct large applications
Does not include unnecessary, outdated, and/or naive features present in other loaders
Fully leverages JS6
Version 1.x of bd-load was rolled into Dojo back in 2011 and is probably the second-most used AMD loader next to Requirejs. It is still the most capable AMD loader today and contains many features and capabilities not available in other loaders. It is also one of the fastest and smallest.
Although it was important to add tons of capabilities and features into the loader back six years ago for historical and marketing reasons, much of that machinery was never needed to build optimal applications.
###Most AMD loaders either solve problems we don't care about--and are therefore bloated--or are poorly built...or both!
Furthermore, AMD loaders bring some configuration capability not currently available with ES6 modules, so they are still relevant.
###bd-load implements exactly the features needed to build modern applications and leverages ES6 to express the fastest and smallest AMD loader ever built.
If you want to write programs that have a loader 5X bigger, slower, and does foolish things like scans module text for require statements, bd-load is not the loader for you.
If you want to load AMD- or UMD-compliant modules in either the browser or node while incurring the minimum cost in time and space, then bd-load is likely the best option.
With npm:
npm install bd-load
With yarn:
yarn add bd-load
With bower:
bower install --save bd-load
Though not common knowledge, bd-load has been in wide-scale continuous use with Dojo since 2011. The project was initially made public in late 2010 and rapidly incorporated into the Dojo Toolkit culminating in release 1.5 of Dojo.
The v1.x loader is extremely advanced and implements the original Dojo synchronous and cross-domain APIs as well as the AMD API. It includes many still-novel features, and can be built exemplifying one of the smallest and fastest AMD-compatible loaders available using the Dojo build system (also originally an ALTOVISO project).
From mid 2011, almost all maintenance of the backdraft loader took place within the Dojo project. In late 2012, a prototype space-optimized version of the loader (bdload-so.js) was constructed.
Since JS6 includes several features that make a smaller loader possible, and further since the typical loaders available are packed full of cruft, outdated APIs, and naive features, ALTOVISO built and released v2.x of bd-load in early 2017.
The loader is currently being used in commercial projects. It includes tests that prove most of the AMD specification. Currently the plugin API is not available, and, since we find that API unnecessary, there are no plans to add it.
bd-load is free and open source software available under a BSD-3-Clause license.
FAQs
A small and fast AMD loader for building modern applications on node.js and the browser.
We found that bd-load demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.