Skip to main content
Deno 2 is finally here 🎉️
Learn more

lodash_es

Copy from lodash-es v4.17.21.

I hope the lock of Deno can lock my dependent version, but now I encounter the wrong version of lodash, even if I have used the pin version like this: https://cdn.skypack.dev/pin/lodash@v4.17.21-K6GEbP02mWFnLA45zAmi/mode=imports/optimized/lodash.js. So I have to fork it by a modules.

Now you can use :

import * as _ from "https://deno.land/x/lodash_es@v0.0.2/mod.ts";

const array = [1];
const other = _.concat(array, 2, [3], [[4]]);

console.log(other);

Below is the origin docs.


The Lodash library exported as ES modules.

Generated using lodash-cli:

$ lodash modularize exports=es -o ./

See the package source for more details.