1.0.5 • Published 3 years ago

remove-duplicates-from-an-array-of-object v1.0.5

Weekly downloads
1
License
ISC
Repository
-
Last release
3 years ago

#THIS PACKAGE ALLOWS YOU TO REMOVE DUPLICATES FROM AN ARRAY OF OBJECT BASED UPON KEY YOU PROVIDE.

How to use :

const { removeDuplicates } = require('remove-duplicates-from-an-array-of-object'); console.log(removeDuplicates([{ key: 1, value: 1 }, { key: 2, value: 2 }, { key: 2, value: 4

}], 'key'));

O/P: { k: 1, v: 1 }, { k: 2, v: 2 }

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago