Napoleonic Panda Machine

    just-union
    TypeScript icon, indicating that this package has built-in type declarations

    3.0.1 • Public • Published

    just-union

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

    🍦 Try it

    npm install just-union
    yarn add just-union

    Returns the union of two arrays

    import union from 'just-union';
    
    union([1, 2, 5, 6], [2, 3, 4, 6]); // [1, 2, 3, 4, 5, 6]

    Install

    npm i just-union

    DownloadsWeekly Downloads

    72

    Version

    3.0.1

    License

    MIT

    Unpacked Size

    3.92 kB

    Total Files

    8

    Last publish

    Collaborators

    • angus-c