Nerdiest Political Manifesto
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

diff-map

1.0.0 • Public • Published

diff-map

Find the Diff of 2 maps based on keys alone

Install

npm install diff-map --save

Usage

var diffMap = require('diff-map');

var map1 = { 1 : {}, 3 : {} };

var map2 = { 1 : {}, 2 : {} };

diffMap(map1, map2)

Result:

{ 3 : {} }

If you:

diffMap(map2, map1)

Result:

{ 2 : {} }

install

npm i diff-map

Downloadsweekly downloads

7

version

1.0.0

license

UNLICENSED

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability