Options
All
  • Public
  • Public/Protected
  • All
Menu

lightdash

lightdash

A small TypeScript utility library to complement lodash.

Introduction

Lightdash is a utility library aiming to complement lodash, written in TypeScript.

Docs

Usage

Installation:

npm install lightdash

When using ES Modules:

import { groupMapBy } from "lightdash";

groupMapBy([1, 2, 3, 4, 5], (val) => val % 2);

When using CommonJS (e.g. Node):

const { groupMapBy } = require("lightdash");

groupMapBy([1, 2, 3, 4, 5], (val) => val % 2);

Contributing

Contributions are always welcome, no matter if you have a request, an idea, found a bug, or spotted a typo: Feel free to create a PR or open an issue!

Generated using TypeDoc