npm.io
5.0.0 • Published 3 weeks ago

@11ty/lodash-custom

Licence
MIT
Version
5.0.0
Deps
0
Size
7 kB
Vulns
0
Weekly
0
Stars
12

@11ty/lodash-custom

Eleventy uses 3 small lodash functions:

Why?

  1. The top level lodash package includes all of lodash and is a hefty 5 MB.
  2. Using the individual, modularized lodash.get, lodash.set, lodash.chunk packages are a much smaller 106 KB but do contain duplicated code. More problematically, these are not being maintained/updated with the newest versions of lodash.

This package reimplements only these three functions, adapted from the lodash v4.18.1 source.