This is only relevant if you think about building your own packages. This package shows how the json data type can be used. It also shows how a configuration can be split up between multiple node directories. This allows you to partition the configuration into individual sections to make it more logical for the user as well as easier to programmatically change configuration options using the API. This package also shows how this works. It’s really not a lot of code, so quickly browsing through it might show you a thing or two you didn’t know yet.
The package can be found and imported from here: https://github.com/info-beamer/package-json-config.