shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
flatten
Type:Function
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.object
Transform the passed multiple level object into a single level one
Params
- object*-Object
The object to flatten
- settings{}Object
An object of settings to configure your flatten process
Return
- -Object
The flatten object
Example
import { flatten } from '@blackbyte/sugar/object';
flatten({
hello: {
world: 'Coco'
}
});Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space
See
.