Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

merge-descriptors

Package Overview
Dependencies
0
Maintainers
19
Versions
4
Issues
File Explorer

Advanced tools

merge-descriptors

Merge objects using descriptors

    1.0.1latest

Version published
Maintainers
19
Weekly downloads
22,860,352
decreased by-12.1%

Weekly downloads

Readme

Source

Merge Descriptors

NPM Version NPM Downloads Build Status Test Coverage

Merge objects using descriptors.

var thing = { get name() { return 'jon' } } var animal = { } merge(animal, thing) animal.name === 'jon'

API

merge(destination, source)

Redefines destination's descriptors with source's.

merge(destination, source, false)

Defines source's descriptors on destination if destination does not have a descriptor by the same name.

License

MIT

FAQs

What is merge-descriptors?

Merge objects using descriptors

Is merge-descriptors popular?

The npm package merge-descriptors receives a total of 18,479,510 weekly downloads. As such, merge-descriptors popularity was classified as popular.

Is merge-descriptors well maintained?

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.

Last updated on 17 Jan 2016

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.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc