/ stream.nieuweinstituut.nl / node_modules / merge-descriptors /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[TXT]HISTORY.md9 years ago363  
[   ]LICENSE9 years ago1.1K 
[TXT]README.md10 years ago1.2Kd768d73 docs [كارل مبارك]
[   ]index.js9 years ago1.2K3e510ca test new git [كارل مبارك]
[   ]package.json2 years ago1.9K3e510ca test new git [كارل مبارك]
README.md

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

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80