/dyndash

Dynamically select the right lodash method (joke)

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

dyndash

You never have to search for the correct lodash method again. Just tell dyndash what you want to do and it will select the right method for you.

Requirements: Node 15+

Usage

    const method = dyndash(sampleInput, expectedResult);
    const result = method(realData);

Check the demo script for more insights

Why?

Why not?

Next things to todo:

  • [] Package manager based on this idea, dynamically install packages for you