1.0.4 • Published 8 years ago

exclusive-properties v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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, {});
1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago