just-partial-it

    2.1.1 • Public • Published

    just-partial-it

    Part of a library of zero-dependency npm modules that do just do one thing.
    Guilt-free utilities for every occasion.

    Try it now

    import partial from 'just-partial-it';
    
    const cubedRoot = partial(Math.pow, _, 1/3);
    cubedRoot(64); // 4
    
    const getRoot = partial(Math.pow, 64);
    getRoot(1/2); // 8

    Install

    npm i just-partial-it

    DownloadsWeekly Downloads

    427

    Version

    2.1.1

    License

    MIT

    Unpacked Size

    2.61 kB

    Total Files

    4

    Last publish

    Collaborators

    • angus-c