Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

merge-all

v1.0.0arrow_drop_down
v1.0.0
v0.0.1
STATUS
Passing
DOWNLOADS
40
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
2 years ago
SIZE
626 B
merge an array of objects
2 contributors
Use merge-all in your project ?
Copied
npm i @bit/bit.utils.object.merge-all
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
revert changes
reload
toggle layout
maximize
chevron_left
chevron_right
mergeAll (
:array<object>
) : object

merge an array of objects

Argument
array<object>
Returns
object

Test Summary

merge-all the mergeAll fucntion should exist

Pass

merge-all should merge all objects in an array

Pass