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

sa110a_lodash

A practice to publish my own lodash to deno land.

Example

import * as _ from 'https://deno.land/x/sa110a_lodash/mod.ts'

console.log("_.chunk(['a', 'b', 'c', 'd'], 2)=", _.chunk(['a', 'b', 'c', 'd'], 2))
console.log("_.chunk(['a', 'b', 'c', 'd'], 3)=", _.chunk(['a', 'b', 'c', 'd'], 3))

Run

$ deno run ex1.ts
_.chunk(['a', 'b', 'c', 'd'], 2)= [ [ "a", "b" ], [ "c", "d" ] ]
_.chunk(['a', 'b', 'c', 'd'], 3)= [ [ "a", "b", "c" ], [ "d" ] ]