Neapolitan Pizza Margherita

    array-duplicate

    1.0.1 • Public • Published

    array-duplicate

    NPM version build status Downloads js-standard-style

    Utility method to find duplicated items from two arrays. If you want to compute the difference between two arrays, use array-difference.

    Installation

    $ npm install array-duplicate
    

    Usage

    var array1 = [1, 2, 3]
    var array2 = [2, 3, 4]
    duplicated(array1, array2) // yeilds [2, 3]

    License

    Copyright (c) 2015 Fraser Xu Licensed under the MIT Expat license.

    Install

    npm i array-duplicate

    DownloadsWeekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • fraserxu