Nested to Dot Notation Object
Convert (2) levels nested object into dot notation object
Installation
npm i object-nested-to-dot
Usage
import {toDotNotation} from 'object-nested-to-dot'; console.log output:
Disclaimer
This package only convert (2) levels nested object.
Extras
If you want to convert dot notation to nested object you can use this snippet with lodash
const toNested = =>