exclusive-properties

1.0.4 • Public • Published

install

npm install exclusive-properties

usage

var exclusive = require('exclusive-properties');
exclusive({a: 1, b: 2}, {b: 2, c: 3});
// => {a: 1, c: 3}

many arguments

Currently it only supports two arguments, but if you have an array of objects:

var res = objects.reduce(exclusive, {});

Readme

Keywords

none

Package Sidebar

Install

npm i exclusive-properties

Weekly Downloads

1

Version

1.0.4

License

MIT

Last publish

Collaborators

  • greenjello