Skip to content

d3v53c/unflatter

 
 

Repository files navigation

Unflatter

This library is used to unflatten an object to nested object form.

for example:

const data = {
    "name[value]": "Ali Baba",
    "name[operator]": "LIKE",
    "phone": "001135"
}

console.log(unflatter(data));

output:

{
    "name" : {
        "value": "Ali Baba",
        "operator": "LIKE
    },
    "phone": "001135"
}

that's it just install with npm i @monabbous/unflatter and start unflatting :D

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 60.9%
  • JavaScript 39.1%