uraway / diff-many-arrays

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Install

yarn add diff-many-arrays
npm install diff-many-arrays

Usage

const diffArrays = require('diff-many-arrays');

diffArrays(['a', 'b', 'c'], ['b', 'c', 'd']) // ['a', 'd']

diffArrays(['a', 'b', 'c'], ['a', 'b', 'c', 'd'], ['c', 'e']) // ['a', 'b', 'd', 'e']

About

License:MIT License


Languages

Language:JavaScript 100.0%