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

nest badge

Lodash

Usage Example

import { ld } from 'https://deno.land/x/deno_lodash/mod.ts';

let words = ['sky', 'wood', 'forest', 'falcon', 
    'pear', 'ocean', 'universe'];

let fel = ld.first(words);
let lel = ld.last(words);

console.log(`First element: ${fel}`);
console.log(`Last element: ${lel}`);

Trigger Usage Example

deno run --allow-read --unstable --allow-env https://deno.land/x/deno_lodash/usage-example.ts

Trigger Test Execution

deno test --allow-read --unstable --allow-env https://deno.land/x/deno_lodash/test.ts
  

Support my Open Source Contributions

If you like my work please consider downloading the brave browser via my promotion link: https://brave.com/fan464.

![](https://brave.com/)

You might also consider sending some ETH to my wallet: 0x61bcBBdC0Ea8B824247956bb67C25949f435cCE7
I guess the money is well invested.