Big JavaScript application cause huge startup latency. A 1Mb of JavaScript initializes about ~600-3000ms! without touching any part of DOM. LMD is inspired by AMD and provides similar module interface. It evals module only when they are required.
- Modules are similar to AMD: there is a require, but no define (all defined on startup) nor exports (module function returns object)
- All modules are loaded at startup
- Each function-module is initialized (evaled) on demand
Original LMD: https://github.com/azproduction/lmd
Thanks for clarification. Maybe it's just a personal dislike, but I find that any javascript > 100kb in a page is usually a sure sign for a lot of unneccessary code.