Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

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
23,350,702
decreased by-0.19%

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 22,101,385 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. It has 19 open source maintainers collaborating on the project.

Last updated on 17 Jan 2016
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