Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

418sec/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, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 62.7%
  • JavaScript 37.3%