merge-descriptors
Advanced tools
Weekly downloads
Readme
Merge objects using descriptors.
var thing = {
get name() {
return 'jon'
}
}
var animal = {
}
merge(animal, thing)
animal.name === 'jon'
Redefines destination
's descriptors with source
's.
Defines source
's descriptors on destination
if destination
does not have
a descriptor by the same name.
FAQs
Merge objects using descriptors
The npm package merge-descriptors receives a total of 22,437,419 weekly downloads. As such, merge-descriptors popularity was classified as popular.
We found that merge-descriptors demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 19 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.