by hackula1 · 13y ago · 0 comments
This
https://github.com/lodash/lodash/blob/master/lodash.js
is hardly the ~200 LOC module being described.
FWIW you're linking to the pre-build dev source.
Lo-Dash is available as modules for AMD, ES6, CommonJS, Node.js, and npm packages per method.
https://npmjs.org/package/lodash-amd
https://github.com/lodash/lodash-es6
https://npmjs.org/package/lodash-node
https://npmjs.org/browse/keyword/lodash-modularized
Also, jQuery is using AMD internally and allows custom builds.
There is even a project to convert it to something more easily consumed by browserify: